CVE-2024-37891
No exploitation reported by the sources we read.
- Published2024-06-17
- Fixed in2.2.2 · 1.26.19
- WeaknessCWE-669
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
Description
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.
Timeline
dates in UTC- 2024-06-1720:15CVE publishedNVD
Versions per branch
NVD · OSV| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 2.x | ≥ 2.0.0, < 2.2.2 | 2.2.2 | NVD · OSV |
| 1.26 | < 1.26.19 | 1.26.19 | NVD · OSV |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 11.0 | = 11.0 | no fix published | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| — | all versions | no fix published | NVD |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Products declared by the CNA1 product
As GitHub_M, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- urllib3Affected
- = < 1.26.19no fix stated
- = >= 2.0.0, < 2.2.2no fix stated
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2024-06-17
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- aardvark-dnsRed Hat:enterprise_linux:8::appstreamall versions · fixed in 2:1.10.0-1.module+el8.10.0+22202+761b9a65
- aardvark-dnsAlmaLinux:8all versions · fixed in 2:1.10.0-1.module_el8.10.0+3792+03eaed9c
- aardvark-dnsAlmaLinux:8all versions · fixed in 2:1.10.0-1.module_el8.10.0+3858+6ad51f9f
- aardvark-dnsAlmaLinux:8all versions · fixed in 2:1.10.0-1.module_el8.10.0+3876+e55593a8
- azWolfiall versions · fixed in 2.61.0-r1and 1 other package
- azChainguardall versions · fixed in 2.61.0-r1and 1 other package
- buildahRed Hat:enterprise_linux:8::appstreamall versions · fixed in 2:1.33.8-4.module+el8.10.0+22202+761b9a65and 4 other packages
- buildahAlmaLinux:8all versions · fixed in 2:1.33.8-4.module_el8.10.0+3876+e55593a8and 1 other package
241 more package ranges on OSV.dev
Vendor advisories
urllib3: proxy-authorization request header is not stripped during cross-origin redirects
ansible-tower.src as a component of Red Hat Ansible Automation Platform 1.2 · python-urllib3.src as a component of Red Hat Ansible Automation Platform 1.2 · ansible-automation-platform-24/ee-minimal-rhel9 as a component of Red Hat Ansible Automation Platform 2 · +32 more
Red Hat Security Advisory: RHOSP 17.1.4 (python-urllib3) security update
Red Hat Security Advisory: python3.11-urllib3 security update
Red Hat Security Advisory: python3.12-urllib3 security update
Red Hat Security Advisory: python3.11-urllib3 security update
Red Hat Security Advisory: python3.12-urllib3 security update
25 more advisories
Fix
- Update Python urllib3 to 2.2.2 · 1.26.19
- Vendor fix Red Hat Product Security RHSA-2024:9985 · 6 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
- Vendor fix Red Hat Product Security RHSA-2024:9922 · 2 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
- Vendor fix Red Hat Product Security RHSA-2024:8906 · 8 productsBefore applying this update, make sure all previously released errata relevant to your system have been applied. For detailed instructions how to apply this update, refer to: https://access.redhat.com/documentation/en-us/red_hat_satellite/6.16/html/updating_red_hat_satellite/index
- Vendor fix Red Hat Product Security RHBA-2024:7523 · 1 productBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://access.redhat.com/articles/11258
- Vendor fix Red Hat Product Security RHSA-2024:7312 · 8 productsRed Hat Ansible Automation Platform
- Workaround from the vendor Red Hat Product Security RHSA-2024:9985 · 6 productsMitigation 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.
Advisories and patches
- github.comPatch
- github.comMitigation · Vendor Advisory
- www.vicarius.ioMitigation
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- PoC-in-GitHubno public repository identifiedread 2026-12-04
- Metasploit modules
- none listed Metasploit Framework
Sources
- CISA-ADPSSVC decisionnone2024-06-18
- CNACVSS 3.14.4known since 2026-10-23
- NVDCVSS 3.16.5read 2026-10-23
- CNAweakness (CWE)CWE-669known since 2026-10-23
- FIRST EPSSEPSS score1.1 %2026-12-04
- OSVaffected packages—
- GitHub AdvisoriesadvisoryModerate2024-06-17
Identifiers
- AZL-42703same flawAzure Linux · MIT
- AZL-42733same flawAzure Linux · MIT
- AZL-42769same flawAzure Linux · MIT
- AZL-59699same flawAzure Linux · MIT
- CGA-23v6-j8c7-rfq6same flawChainguard · CC-BY-NC-ND-4.0
- CGA-29j6-v8r4-wjv5same flawChainguard · CC-BY-NC-ND-4.0
- CGA-2j4p-h5hv-3w9jsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-2mvr-vmrm-8hf3same flawChainguard · CC-BY-NC-ND-4.0
- CGA-2v59-5f2q-5v8jsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-2xwh-4ch4-fp43same flawChainguard · CC-BY-NC-ND-4.0
- CGA-354m-rgjc-4vj8same flawChainguard · CC-BY-NC-ND-4.0
- CGA-3884-2c6x-hg5vsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-397h-794m-3wp6same flawChainguard · CC-BY-NC-ND-4.0
- CGA-3m42-6jrp-hxjwsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-3q3r-9jr3-p9gwsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-3qp3-ggvv-3h6rsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-3r45-4qq9-mwp5same flawChainguard · CC-BY-NC-ND-4.0
- CGA-3rvv-j7m3-mhxqsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-42j6-qp2m-phg9same flawChainguard · CC-BY-NC-ND-4.0
- CGA-4324-w9pw-v3frsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-45fq-mcrm-45jcsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-4jfc-9r68-mrvrsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-4rmm-hq33-rr8csame flawChainguard · CC-BY-NC-ND-4.0
- CGA-4rvx-vq4m-mqpjsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-4w25-q27f-6743same flawChainguard · CC-BY-NC-ND-4.0
- CGA-55wr-phmj-rpv5same flawChainguard · CC-BY-NC-ND-4.0
- CGA-5c66-7xh9-j5m6same flawChainguard · CC-BY-NC-ND-4.0
- CGA-5g68-q6fw-rx9wsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-5hfc-gx6g-7prrsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-5rff-5vrm-gpqpsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-5wm2-6cr4-88m3same flawChainguard · CC-BY-NC-ND-4.0
- CGA-62g2-q3cg-83xjsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-63p9-4pr6-2f96same flawChainguard · CC-BY-NC-ND-4.0
- CGA-6499-6543-jc2jsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-69q9-8m5q-9pmpsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-6cvr-mr7q-r5p3same flawChainguard · CC-BY-NC-ND-4.0
- CGA-6frg-fmcp-4chxsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-6h57-3f7m-3rvxsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-6r6g-6642-f26vsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-6rcp-w8vh-3f4wsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-6rp8-w866-hp98same flawChainguard · CC-BY-NC-ND-4.0
- CGA-6ww5-j4v9-qqwqsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-72gq-3xc6-27f5same flawChainguard · CC-BY-NC-ND-4.0
- CGA-75jq-j946-fwfqsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-7ffg-4xr3-qggfsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-7pp5-2q4v-3vg3same flawChainguard · CC-BY-NC-ND-4.0
- CGA-82f5-fxrp-cjw3same flawChainguard · CC-BY-NC-ND-4.0
- CGA-859w-p592-vcwmsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-8793-83p2-rvchsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-8fvc-r6fv-8795same flawChainguard · CC-BY-NC-ND-4.0
Technical details
- CVSS v3 vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- Published
- 2024-06-17
- Last modified
- 2026-06-17
- NVD status
- Analyzed
- GitHub advisory
- GHSA-34jh-p97f-mpxf
Frequently asked questions
What is CVE-2024-37891?
Is CVE-2024-37891 actively exploited?
What is the CVSS score for CVE-2024-37891?
Running urllib3? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website checks · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-34jh-p97f-mpxf
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- CISA Vulnrichment · CC0-1.0