cve.bz

CVE-2024-37891

6.5 mediumExploit referenceEPSS 1.1%Fix available

Medium (6.5). EPSS 1.1% estimated probability of exploitation activity in the next 30 days. Fixed in urllib3 1.26.19, 2.2.2.

On this page
urllib3 is a user-friendly HTTP client library for Python. 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. We believe the number of usages affected by this advisory is low. It requires all of the following to be true to be exploited: 1. Setting the `Proxy-Authorization` header without using urllib3's built-in proxy support. 2. Not disabling HTTP redirects. 3. Either not using an HTTPS origin server or for the proxy or target origin to redirect to a malicious origin. Users are advised to update to either version 1.26.19 or version 2.2.2. Users unable to upgrade may use the `Proxy-Authorization` header with urllib3's `ProxyManager`, disable HTTP redirects using `redirects=False` when sending requests, or not user the `Proxy-Authorization` header as mitigations.

Severity

CVSS 3.1

6.5 medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
EPSS
1.1% (unchanged from 1.1% a week ago; 1.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 67th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2024-06-18. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-669 Incorrect Resource Transfer Between Spheres
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-37891 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-37891?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-37891?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-37891 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
python:urllib3before 1.26.19
python:urllib3from 2.0.0 before 2.2.2
debian:debian_linux11.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-34jh-p97f-mpxfPyPIurllib3<1.26.191.26.19
GHSA-34jh-p97f-mpxfPyPIurllib3>=2.0.0 <2.2.22.2.2
PYSEC-2026-1995PyPIurllib3<1.26.19
>=2.0.0 <2.2.2
1.26.19, 2.2.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11python-urllib31.26.5-1~exp1+deb11u1DLA-3998-1
Debian12python-urllib31.26.12-1+deb12u1DEBIAN-CVE-2024-37891
Debian13, 14python-urllib32.2.3-3DEBIAN-CVE-2024-37891
Ubuntu20.04:LTSpython-pip20.0.2-5ubuntu1.11UBUNTU-CVE-2024-37891 USN-7084-2
Ubuntu20.04:LTSpython-urllib31.25.8-2ubuntu0.4UBUNTU-CVE-2024-37891 USN-7084-1
Ubuntu22.04:LTSpython-pip22.0.2+dfsg-1ubuntu0.5UBUNTU-CVE-2024-37891 USN-7084-2
Ubuntu22.04:LTSpython-urllib31.26.5-1~exp1ubuntu0.2UBUNTU-CVE-2024-37891 USN-7084-1
Ubuntu24.04:LTSpython-pip24.0+dfsg-1ubuntu1.1UBUNTU-CVE-2024-37891 USN-7084-2
Ubuntu24.04:LTSpython-urllib32.0.7-1ubuntu0.1UBUNTU-CVE-2024-37891 USN-7084-1
UbuntuPro:14.04:LTSpython-pipno fix listedUBUNTU-CVE-2024-37891
UbuntuPro:16.04:LTSpython-pip8.1.1-2ubuntu0.6+esm10UBUNTU-CVE-2024-37891 USN-7084-2
UbuntuPro:16.04:LTSpython-urllib31.13.1-2ubuntu0.16.04.4+esm2UBUNTU-CVE-2024-37891 USN-7084-1
UbuntuPro:18.04:LTSpython-pip9.0.1-2.3~ubuntu1.18.04.8+esm6UBUNTU-CVE-2024-37891 USN-7084-2
UbuntuPro:18.04:LTSpython-urllib31.22-1ubuntu0.18.04.2+esm2UBUNTU-CVE-2024-37891 USN-7084-1
Red Hatansible_automation_platform:2.4::el8automation-controller, automation-controller-ui, automation-controller-cli and 2 more0:4.5.11-1.el8apRHSA-2024:6765
Red Hatansible_automation_platform:2.4::el8automation-controller-venv-tower0:4.5.12-1.el8apRHSA-2024:7312
Red Hatansible_automation_platform:2.4::el8python39-django, python3x-django0:4.2.16-1.el8apRHSA-2024:6765
Red Hatansible_automation_platform:2.4::el8python39-pulpcore, python3x-pulpcore0:3.28.32-1.el8apRHSA-2024:6765
Red Hatansible_automation_platform:2.4::el8, ansible_automation_platform_developer:2.4::el8python39-urllib3, python3x-urllib30:1.26.20-1.el8apRHSA-2024:6765
Red Hatansible_automation_platform:2.4::el8, ansible_automation_platform_developer:2.4::el8, ansible_automation_platform_inside:2.4::el8receptor, receptorctl0:1.4.8-1.1.el8apRHSA-2024:6765
Red Hatansible_automation_platform:2.4::el9automation-controller, automation-controller-ui, automation-controller-cli and 2 more0:4.5.11-1.el9apRHSA-2024:6765
Red Hatansible_automation_platform:2.4::el9automation-controller-venv-tower0:4.5.12-1.el9apRHSA-2024:7312
Red Hatansible_automation_platform:2.4::el9python-django, python3-django0:4.2.16-1.el9apRHSA-2024:6765
Red Hatansible_automation_platform:2.4::el9python-pulpcore, python3-pulpcore0:3.28.32-1.el9apRHSA-2024:6765
Red Hatansible_automation_platform:2.4::el9, ansible_automation_platform_developer:2.4::el9python-urllib3, python3-urllib30:1.26.20-1.el9apRHSA-2024:6765
Red Hatansible_automation_platform:2.4::el9, ansible_automation_platform_developer:2.4::el9, ansible_automation_platform_inside:2.4::el9receptor, receptorctl0:1.4.8-1.1.el9apRHSA-2024:6765
255 more for Red Hat in the JSON and on Red Hat's page.
SUSEEL-9:Update:Products:SaltBundle:Updatesaltbundlepy, saltbundlepy-core3.11.9-1.26.1SUSE-SU-2024:4029-1
SUSEEL-9:Update:Products:SaltBundle:Updatesaltbundlepy-cryptography3.3.2-1.18.1SUSE-SU-2024:4029-1
SUSEEL-9:Update:Products:SaltBundle:Updatesaltbundlepy-docker7.0.0-1.8.1SUSE-SU-2024:4029-1
SUSEEL-9:Update:Products:SaltBundle:Updatesaltbundlepy-idna3.4-1.9.2SUSE-SU-2024:4029-1
SUSEEL-9:Update:Products:SaltBundle:Updatesaltbundlepy-passlib, saltbundlepy-passlib-test1.7.4-1.3.1SUSE-SU-2024:4029-1
SUSEEL-9:Update:Products:SaltBundle:Updatesaltbundlepy-setuptools67.7.2-1.12.1SUSE-SU-2024:4029-1
SUSEEL-9:Update:Products:SaltBundle:Updatesaltbundlepy-urllib32.0.7-1.12.1SUSE-SU-2024:4029-1
SUSEEL-9:Update:Products:SaltBundle:Updatesaltbundlepy-zipp3.15.0-1.9.2SUSE-SU-2024:4029-1
SUSEEL-9:Update:Products:SaltBundle:Update, Manager Client Tools for RHEL, Liberty and Clones 9-CLIENT-TOOLSvenv-salt-minion3006.0-1.47.1SUSE-SU-2024:4029-1
SUSELinux Enterprise Micro 5.1, Linux Enterprise Micro 5.2, Linux Enterprise Micro 5.3 and 4 morepython-urllib31.25.10-150300.4.12.1SUSE-SU-2024:2662-1
SUSELinux Enterprise Module for Public Cloud 12, Linux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5 and 2 morepython-urllib31.25.10-3.40.1SUSE-SU-2024:2879-1
SUSELinux Enterprise Module for Public Cloud 15 SP4, Linux Enterprise Module for Python 3 15 SP5, Linux Enterprise Module for Python 3 15 SP6python-urllib32.0.7-150400.7.18.1SUSE-SU-2024:2320-1
5 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.5, Leap 15.6python-urllib32.0.7-150400.7.18.1SUSE-SU-2024:2320-1
openSUSELeap 15.5, Leap Micro 5.5python-urllib31.25.10-150300.4.12.1SUSE-SU-2024:2662-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

.egg-info packages, like urllib3-1.24.2-py3.6.egg-info, store only metadata such as package version and dependencies and do not contain any affected codebase.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Ansible Automation Platform 2.4 for RHEL 8python3x-urllib3-0:1.26.20-1.el8apFixed 2024-09-18RHSA-2024:6765
Red Hat Ansible Automation Platform 2.4 for RHEL 8automation-controller-0:4.5.12-1.el8apFixed 2024-09-27RHSA-2024:7312
Red Hat Ansible Automation Platform 2.4 for RHEL 9python-urllib3-0:1.26.20-1.el9apFixed 2024-09-18RHSA-2024:6765
Red Hat Ansible Automation Platform 2.4 for RHEL 9automation-controller-0:4.5.12-1.el9apFixed 2024-09-27RHSA-2024:7312
Red Hat Developer Hub 1.3 on RHEL 9rhdh/rhdh-hub-rhel9:1.3-100Fixed 2024-10-02RHBA-2024:7523
Red Hat Enterprise Linux 8container-tools:rhel8-8100020240808093819.afee755dFixed 2024-08-13RHSA-2024:5258
Red Hat Enterprise Linux 8fence-agents-0:4.2.1-129.el8_10.4Fixed 2024-09-04RHSA-2024:6309
Red Hat Enterprise Linux 8python3.12-urllib3-0:1.26.19-1.el8_10Fixed 2024-11-05RHSA-2024:8842
Red Hat Enterprise Linux 8python3.11-urllib3-0:1.26.12-4.el8_10Fixed 2024-11-05RHSA-2024:8843
Red Hat Enterprise Linux 8resource-agents-0:4.9.0-54.el8_10.4Fixed 2024-09-04RHSA-2024:6311
Red Hat Ansible Automation Platform 1.2ansible-towerOut of support scope
Red Hat Ansible Automation Platform 2ansible-automation-platform-24/ee-minimal-rhel9Affected
Red Hat Ansible Automation Platform 2ansible-automation-platform-25/lightspeed-rhel8Affected
Red Hat Ansible Automation Platform 2ansible-lintNot affected
Red Hat Ansible Automation Platform 2ansible-navigatorNot affected
Red Hat Ansible Automation Platform 2python3x-ansible-compatNot affected
Red Hat Ansible Automation Platform 2python-ansible-compatNot affected
Red Hat Discovery 1discovery-server-containerNot affected
Red Hat Enterprise Linux 10python-pipNot affected
Red Hat Enterprise Linux 10python-tornadoNot affected
56 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-37891.

References

Check your stackJSON