Skip to content
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

[Snyk: Med] Improper Handling of Insufficient Permissions or Privileges (Due 09/16/24) #6343

Closed
1 task
pkfec opened this issue Jun 20, 2024 · 0 comments · Fixed by #6426
Closed
1 task
Assignees
Labels
Security: moderate Remediate within 60 days
Milestone

Comments

@pkfec
Copy link
Contributor

pkfec commented Jun 20, 2024

Overview

urllib3 is a HTTP library with thread-safe connection pooling, file post, and more.

Affected versions of this package are vulnerable to Improper Removal of Sensitive Information Before Storage or Transfer due to the improper handling of the Proxy-Authorization header during cross-origin redirects when ProxyManager is not in use. When the conditions below are met, including non-recommended configurations, the contents of this header can be sent in an automatic HTTP redirect.

https://security.snyk.io/vuln/SNYK-PYTHON-URLLIB3-7267250

Workarounds

Using the Proxy-Authorization header with urllib3's ProxyManager.

Disabling HTTP redirects using redirects=False when sending requests.

Not using the Proxy-Authorization header.

Introduced through:

urllib3@1.26.18

Remediation:

upgrade urllib3@1.26.19

Completion criteria:

  • upgrade urllib3@1.26.19 and verify snyk cli no longer flags requests as vulnerable package
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Security: moderate Remediate within 60 days
Projects
Status: ✅ Done
Development

Successfully merging a pull request may close this issue.

2 participants