-
Notifications
You must be signed in to change notification settings - Fork 59
[Snyk] Security upgrade requests from 2.31.0 to 2.33.0 #629
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
base: touch
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -3,3 +3,4 @@ web3 >= 4.8 | |
| Pillow | ||
| stellar-sdk>=4.0.0,<6.0.0 | ||
| rlp>=1.1.0 ; python_version<'3.7' | ||
| requests>=2.33.0 # not directly required, pinned by Snyk to avoid a vulnerability | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Security fix applied to wrong requirements fileMedium Severity The There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Version pin breaks Python 3.9 and earlier compatibilityMedium Severity
|
||


There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔴 Security version pin placed in optional requirements instead of main requirements where
requestsis a direct dependencyThe Snyk security pin
requests>=2.33.0is added torequirements-optional.txtwith the comment "not directly required", butrequestsis a direct dependency declared inpython/requirements.txt:3asrequests>=2.4.0. Users who install only the base requirements (the standard case) will still resolverequeststo any version>=2.4.0, potentially pulling in the vulnerable version that this pin was supposed to prevent. The fix should update the minimum version inpython/requirements.txtfrom>=2.4.0to>=2.33.0instead.Prompt for agents
Was this helpful? React with 👍 or 👎 to provide feedback.