Please upgrade urllib3 dependency to avoid a security vulnerability
See original GitHub issueDescription
I installed awsebcli in a virtualenv and I have pinned my libraries into requirements.txt (via pip freeze > requirements.txt
).
My requirements.txt contains these two libraries as a result:
awsebcli==3.20.1
urllib3==1.25.11
With this version of urllib3 installed, GitHub Dependabot gives a warning about a security vulnerability (https://github.com/advisories/GHSA-q2q7-5pp4-w6pg). The current dependency range for awsebcli is urllib3>=1.25.4,<1.26
, which means that this dependency can’t be satisfied. (source)
In my case, this is not particularly serious because there is no workflow in which user input could be passed into urllib3, but that might not be the case for all users who use awsebcli. However, it is vexing that there is a Dependabot security vulnerability that I have to continue to ignore.
Can we update the setup.py for awsebcli to allow installing urllib3==1.26.5 or higher? That is the minimum version that no longer contains the vulnerability.
Steps to reproduce
I am using Python 3.9.5 on Windows, using Git Bash - but the same problem should be reproducible on other platforms as well.
Additional environment details (Ex: Windows, Mac, Amazon Linux etc)
- OS: Windows
- EBCLI version: 3.20.1
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:5
Top GitHub Comments
@eytanhanig I’m with AWS Security - thanks for letting us know about this. I’ll reply to your email.
To your comment above:
We don’t use GitHub to manage security issue reports. If you discover or become aware of a potential security issue within any of AWS’s open source offerings, please email aws-security@amazon.com.
Looks like this was resolved - thanks!
https://github.com/aws/aws-elastic-beanstalk-cli/commit/eaea1712c5d70c15b8c1f040b3625182573dc7f1