Search for packages
Package details: pkg:pypi/urllib3@2.2.1
purl pkg:pypi/urllib3@2.2.1
Next non-vulnerable version 2.2.2
Latest non-vulnerable version 2.5.0
Risk 3.1
Vulnerabilities affecting this package (1)
Vulnerability Summary Fixed by
VCID-1cgk-q3r3-aaam
Aliases:
CVE-2024-37891
GHSA-34jh-p97f-mpxf
urllib3's Proxy-Authorization request header isn't stripped during cross-origin redirects When using urllib3's proxy support with `ProxyManager`, the `Proxy-Authorization` header is only sent to the configured proxy, as expected. However, when sending HTTP requests *without* using urllib3's proxy support, it's possible to accidentally configure the `Proxy-Authorization` header even though it won't have any effect as the request is not using a forwarding proxy or a tunneling proxy. In those cases, urllib3 doesn't treat the `Proxy-Authorization` HTTP header as one carrying authentication material and thus doesn't strip the header on cross-origin redirects. Because this is a highly unlikely scenario, we believe the severity of this vulnerability is low for almost all users. Out of an abundance of caution urllib3 will automatically strip the `Proxy-Authorization` header during cross-origin redirects to avoid the small chance that users are doing this on accident. Users should use urllib3's proxy support or disable automatic redirects to achieve safe processing of the `Proxy-Authorization` header, but we still decided to strip the header by default in order to further protect users who aren't using the correct approach. ## Affected usages We believe the number of usages affected by this advisory is low. It requires all of the following to be true to be exploited: * Setting the `Proxy-Authorization` header without using urllib3's built-in proxy support. * Not disabling HTTP redirects. * Either not using an HTTPS origin server or for the proxy or target origin to redirect to a malicious origin. ## Remediation * Using the `Proxy-Authorization` header with urllib3's `ProxyManager`. * Disabling HTTP redirects using `redirects=False` when sending requests. * Not using the `Proxy-Authorization` header.
2.2.2
Affected by 0 other vulnerabilities.
Vulnerabilities fixed by this package (0)
Vulnerability Summary Aliases
This package is not known to fix vulnerabilities.

Date Actor Action Vulnerability Source VulnerableCode Version
2025-06-20T17:03:41.922049+00:00 GitLab Importer Affected by VCID-1cgk-q3r3-aaam https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/urllib3/CVE-2024-37891.yml 36.1.3
2025-06-03T23:40:03.966359+00:00 GitLab Importer Affected by VCID-1cgk-q3r3-aaam https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/urllib3/CVE-2024-37891.yml 36.1.0
2025-06-02T23:38:20.284037+00:00 GitLab Importer Affected by VCID-1cgk-q3r3-aaam https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/urllib3/CVE-2024-37891.yml 36.1.2
2025-04-03T22:15:43.809641+00:00 GitLab Importer Affected by VCID-1cgk-q3r3-aaam https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/urllib3/CVE-2024-37891.yml 36.0.0
2025-02-18T04:01:30.187317+00:00 GitLab Importer Affected by VCID-1cgk-q3r3-aaam https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/urllib3/CVE-2024-37891.yml 35.1.0
2024-11-21T01:10:55.456105+00:00 GitLab Importer Affected by VCID-1cgk-q3r3-aaam https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/urllib3/CVE-2024-37891.yml 35.0.0
2024-11-19T00:59:37.460279+00:00 GitLab Importer Affected by VCID-1cgk-q3r3-aaam https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/urllib3/CVE-2024-37891.yml 34.3.2
2024-10-08T01:37:22.907358+00:00 GitLab Importer Affected by VCID-1cgk-q3r3-aaam https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/urllib3/CVE-2024-37891.yml 34.0.2
2024-10-07T22:16:22.321205+00:00 GHSA Importer Affected by VCID-1cgk-q3r3-aaam https://github.com/advisories/GHSA-34jh-p97f-mpxf 34.0.2
2024-09-23T01:34:38.147655+00:00 GitLab Importer Affected by VCID-1cgk-q3r3-aaam https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/urllib3/CVE-2024-37891.yml 34.0.1
2024-09-22T22:42:56.498388+00:00 GHSA Importer Affected by VCID-1cgk-q3r3-aaam https://github.com/advisories/GHSA-34jh-p97f-mpxf 34.0.1