-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(unused) vendored requests is vulnerable to CVE-2018-18074 #1608
Comments
Thanks for opening this issue, as you mention we no longer use this vendored version of requests directly in the SDK and have kept in the code base for backwards compatibility. Customers using the latest version of the SDKs are unaffected. We're currently investigating options to protect customers that might be using the vendored version of requests. |
@joguSD : not sure about what is no longer use mean, if I search like: https://github.com/boto/botocore/search?l=Python&p=2&q=vendored, we can see there are lots of code still reference this vendored request, and we can't simple remove that folder manually even in the latest code base. sample error:
|
@ztou the only use is exception base classes (which can pretty easily be switched) -- the actual requesting parts of |
There's a bit of common wisdom out there to use EDIT: Just seeing now that you announced deprecation in April 2018. |
Same number of deps just one is sneaky ;) I'd be hard pressed to call it "wisdom" - - seems foolish to import from another module's compat / vendor modules and expect a stable api |
Just as an update we've added deprecation warnings to real usage of the vendored requests package in this pr. In the long term, we're hoping to be able to remove the package entirely (or as much of it as possible). @tmclaugh That usage pattern will almost certainly run into issues and we strongly recommend that people not use our vendored version of requests. |
would it make sense to |
Sorry but I fail to see how I am actually "forcing" the use of the vendored library anywhere. |
@asottile, exception bases classes are not the only usage if you include the tests. There are a number of uses of
|
tests aren't distributed with the package |
Just following up on this one. |
Hi, we are planning to remove the vendored version of requests in one month. Please let us know if you have any questions or concerns in the tracking PR: #1829 |
Assuming this history is correct, it is currently vendored at 2.7.0
Versions prior to 2.20.0 are vulnerable to this
See CVE-2018-18074
This vendored copy is not used by botocore itself any more, though some downstream libraries (such as pynamodb) are reaching into botocore's vendor directory and using it
The text was updated successfully, but these errors were encountered: