SNYK - urllib3 Improper Removal of Sensitive Information Before Storage or Transfer
- Introduced through
mkdocs-mermaid2-plugin@0.5.2
- Fixed in
urllib3@1.26.19, @2.2.2
Detailed paths and remediation
- Introduced through: project@0.0.0 › mkdocs-mermaid2-plugin@0.5.2 › requests@2.31.0 › urllib3@2.0.7
Fix: Pin urllib3 to version 1.26.19 or 2.2.2
Security information
Factors contributing to the scoring: * Snyk: CVSS 6.0 - Medium Severity
- NVD: Not available. NVD has not yet published its analysis.
Why are the scores different? Learn how Snyk evaluates vulnerability scores
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.
Notes:
To be vulnerable, the application must be doing all of the following:
- Setting the Proxy-Authorization header without using urllib3's built-in proxy support.
- Not disabling HTTP redirects (e.g. with redirects=False)
- Either not using an HTTPS origin server, or having a proxy or target origin that redirects to a malicious origin.