Skip to content
Fencer Intel
medium 4.4

CVE-2024-37891 json

Proxy-Authorization request header isn't stripped during cross-origin redirects in urllib3

published 2y ago modified 2mo ago also EUVD-2024-1894 , GHSA-34jh-p97f-mpxf , PYSEC-2026-1995

cvss
4.4
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
1.1%
EPSS 1.1% chance of exploitation in 30 days, percentile 67%
public exploits
0
none known

Summary

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.

Patch / fix

  • pypi urllib3 1.26.19, 2.2.2
  • python urllib3 1.26.19, 2.2.2
  • python-urllib3 Debian 12 1.26.12-1+deb12u1
  • python-urllib3 Debian 14, Debian 13 2.2.3-3

debian advisories DEBIAN-CVE-2024-37891

  • python-pip Ubuntu 20.04 LTS 20.0.2-5ubuntu1.11
  • python-pip Ubuntu 22.04 LTS 22.0.2+dfsg-1ubuntu0.5
  • python-pip Ubuntu 24.04 LTS 24.0+dfsg-1ubuntu1.1
  • python-urllib3 Ubuntu 20.04 LTS 1.25.8-2ubuntu0.4
  • python-urllib3 Ubuntu 22.04 LTS 1.26.5-1~exp1ubuntu0.2
  • python-urllib3 Ubuntu 24.04 LTS 2.0.7-1ubuntu0.1
  • python-pip Ubuntu Pro 16.04 LTS 8.1.1-2ubuntu0.6+esm10
  • python-pip Ubuntu Pro 18.04 LTS 9.0.1-2.3~ubuntu1.18.04.8+esm6

ubuntu advisories UBUNTU-CVE-2024-37891

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • python-urllib3 openstack 17.1 1.25.10-7.el8ost
  • python3-urllib3 openstack 17.1 1.25.10-7.el8ost
  • cjson satellite capsule 6.16, satellite 6.16 1.7.17-1.el8sat
  • cjson satellite capsule 6.16, satellite 6.16 1.7.17-1.el9sat
  • foreman satellite utils 6.16, satellite capsule 6.16, satellite 6.16 3.12.0.1-1.el8sat
  • foreman satellite utils 6.16, satellite capsule 6.16, satellite 6.16 3.12.0.1-1.el9sat
  • katello satellite capsule 6.16, satellite 6.16 4.14.0-0.1.rc2.el8sat
  • katello satellite capsule 6.16, satellite 6.16 4.14.0-0.1.rc2.el9sat

red hat advisories RHSA-2024:9923RHSA-2024:9985RHSA-2024:9922RHSA-2024:8906RHSA-2024:9458RHSA-2024:9457

  • python-urllib3 Linux Micro 6.0 2.1.0-2.1
  • python-urllib3_1 SLE Module for Python 3 15 SP6, openSUSE Leap 15.6 1.26.18-150600.3.3.1
  • venv-salt-minion Manager Client Tools for RHEL, Liberty and Clones 9-CLIENT-TOOLS, EL-9:Update:Products:SaltBundle:Update 3006.0-1.47.1
  • saltbundlepy EL-9:Update:Products:SaltBundle:Update 3.11.9-1.26.1
  • saltbundlepy-core EL-9:Update:Products:SaltBundle:Update 3.11.9-1.26.1
  • saltbundlepy-idna EL-9:Update:Products:SaltBundle:Update 3.4-1.9.2
  • saltbundlepy-zipp EL-9:Update:Products:SaltBundle:Update 3.15.0-1.9.2
  • saltbundlepy-docker EL-9:Update:Products:SaltBundle:Update 7.0.0-1.8.1

suse advisories SUSE-SU-2025:20037-1SUSE-SU-2024:4358-1SUSE-EL-9-CLIENT-TOOLS-2024-4029SUSE-SU-2024:4029-1SUSE-SU-2024:4021-1SUSE-SU-2024:4020-1

  • python-urllib3 openSUSE Tumbleweed 2.8.0-1.1
  • oci-cli openSUSE Tumbleweed 3.76.2-1.1
  • python-urllib3 openSUSE Tumbleweed 2.1.0-3.1

opensuse advisories openSUSE-SU-2026:12044-1openSUSE-SU-2026:10539-1openSUSE-SU-2024:14055-1

  • python3.12-urllib3 AlmaLinux 9 1.26.18-2.el9_5.1
  • python3.11-urllib3 AlmaLinux 9 1.26.12-2.el9_5.1
  • python3.12-urllib3 AlmaLinux 8 1.26.19-1.el8_10
  • python3.11-urllib3 AlmaLinux 8 1.26.12-4.el8_10
  • fence-agents-all AlmaLinux 8 4.2.1-129.el8_10.4
  • fence-agents-apc AlmaLinux 8 4.2.1-129.el8_10.4
  • fence-agents-aws AlmaLinux 8 4.2.1-129.el8_10.4
  • fence-agents-eps AlmaLinux 8 4.2.1-129.el8_10.4

almalinux advisories ALSA-2024:9457ALSA-2024:9458ALSA-2024:8842ALSA-2024:8843ALSA-2024:6309ALSA-2024:6311

  • resource-agents Rocky Linux 8 4.9.0-54.el8_10.4
  • fence-agents Rocky Linux 8 4.2.1-129.el8_10.4
  • python-urllib3 Rocky Linux 8 1.24.2-8.el8_10
  • python3.12-urllib3 Rocky Linux 9 1.26.18-2.el9_5.1
  • python3.12-urllib3 Rocky Linux 8 1.26.19-1.el8_10
  • python3.11-urllib3 Rocky Linux 8 1.26.12-4.el8_10

rocky linux advisories RLSA-2024:6311RLSA-2024:6309RLSA-2024:5309RLSA-2024:9457RLSA-2024:8842RLSA-2024:8843

  • python-urllib3 CBL-Mariner 2.0 1.26.19-1
  • python-urllib3 Azure Linux 3.0 2.0.7-1
  • python-pip Azure Linux 3.0 24.2-2
  • python3 CBL-Mariner 2.0 3.9.19-13

azure linux advisories AZL-42703AZL-42733AZL-42769AZL-59699

Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT

Is CVE-2024-37891 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2024-37891 updated cvss 4.4

urllib3: proxy-authorization request header is not stripped during cross-origin redirects

  • Red Hat Ansible Automation Platform 1.2 ansible-tower
    affected: workaround, no fix planned “Out of support scope”
  • Red Hat Ansible Automation Platform 2 ansible-automation-platform-25/ee-minimal-rhel8, ansible-automation-platform-25/lightspeed-rhel8
    affected: workaround, no fix available
  • Red Hat Enterprise Linux 7 python-pip, python3-pip, python-urllib3, resource-agents, python-s3transfer, resource-agents-gcp, +5 more
    affected: workaround, no fix planned “Out of support scope”
  • Red Hat Enterprise Linux 8 python2-pip, python2-pip-wheel
    affected: workaround, no fix planned “Will not fix”
  • Red Hat OpenShift Container Platform 3.11 python-urllib3, python2-urllib3, openvswitch-ovn-kubernetes
    affected: workaround, no fix planned “Out of support scope”
  • Red Hat OpenShift Container Platform 4 openshift4/ztp-site-generate-rhel8, openshift4/baremetal-hardware-event-proxy-rhel8
    affected: workaround, no fix available, no fix planned “Will not fix”
  • Red Hat OpenShift Data Science (RHODS) rhods/odh-ml-pipelines-cache-rhel8
    affected: workaround, no fix planned “Will not fix”
  • Red Hat Quay 3 quay/quay-rhel8
    affected: workaround, no fix available
show 30 more
  • Red Hat Software Collections rh-python38-python-pip, rh-python38-python-urllib3, rh-python38-python-pip-wheel
    affected: workaround, no fix planned “Will not fix”
  • Red Hat Storage 3 graphite-web
    affected: workaround, no fix planned “Out of support scope”
  • Red Hat Ansible Automation Platform 2.4 for RHEL 8 python39-urllib3 1.26.20-1.el8ap, python3x-urllib3 1.26.20-1.el8ap, automation-controller-venv-tower 4.5.12-1.el8ap Red Hat Ansible Automation Platform 2.4 for RHEL 9 python-urllib3 1.26.20-1.el9ap, python3-urllib3 1.26.20-1.el9ap, automation-controller-venv-tower 4.5.12-1.el9ap
    fixed: vendor fix RHSA-2024:6765
  • Red Hat Developer Hub 1.3 for RHEL 9 rhdh/rhdh-hub-rhel9 1.3-100
    fixed: vendor fix RHBA-2024:7523
  • Red Hat Enterprise Linux AppStream (v. 8) fence-agents 4.2.1-129.el8_10.4, fence-agents-all 4.2.1-129.el8_10.4, fence-agents-apc 4.2.1-129.el8_10.4, fence-agents-eps 4.2.1-129.el8_10.4, fence-agents-rsa 4.2.1-129.el8_10.4, fence-agents-rsb 4.2.1-129.el8_10.4, +72 more
    fixed: vendor fix RHSA-2024:5258
  • Red Hat Enterprise Linux AppStream (v. 9) fence-virt 4.10.0-62.el9_4.4, fence-virtd 4.10.0-62.el9_4.4, fence-agents 4.10.0-62.el9_4.4, fence-virtd-cpg 4.10.0-62.el9_4.4, fence-virtd-tcp 4.10.0-62.el9_4.4, fence-agents-virsh 4.10.0-62.el9_4.4, +10 more
    fixed: vendor fix RHSA-2024:4422
  • Red Hat Enterprise Linux AppStream AUS (v.8.4) fence-agents 4.2.1-65.el8_4.17, fence-agents-all 4.2.1-65.el8_4.17, fence-agents-apc 4.2.1-65.el8_4.17, fence-agents-eps 4.2.1-65.el8_4.17, fence-agents-rsa 4.2.1-65.el8_4.17, fence-agents-rsb 4.2.1-65.el8_4.17, +36 more
    fixed: vendor fix RHSA-2024:4730
  • Red Hat Enterprise Linux AppStream AUS (v.8.6) fence-agents 4.2.1-89.el8_6.13, fence-agents-all 4.2.1-89.el8_6.13, fence-agents-apc 4.2.1-89.el8_6.13, fence-agents-eps 4.2.1-89.el8_6.13, fence-agents-rsa 4.2.1-89.el8_6.13, fence-agents-rsb 4.2.1-89.el8_6.13, +36 more
    fixed: vendor fix RHSA-2024:5622
  • Red Hat Enterprise Linux AppStream E4S (v.8.4) fence-agents 4.2.1-65.el8_4.17, fence-agents-all 4.2.1-65.el8_4.17, fence-agents-apc 4.2.1-65.el8_4.17, fence-agents-eps 4.2.1-65.el8_4.17, fence-agents-rsa 4.2.1-65.el8_4.17, fence-agents-rsb 4.2.1-65.el8_4.17, +36 more
    fixed: vendor fix RHSA-2024:4730
  • Red Hat Enterprise Linux AppStream E4S (v.8.6) fence-agents 4.2.1-89.el8_6.13, fence-agents-all 4.2.1-89.el8_6.13, fence-agents-apc 4.2.1-89.el8_6.13, fence-agents-eps 4.2.1-89.el8_6.13, fence-agents-rsa 4.2.1-89.el8_6.13, fence-agents-rsb 4.2.1-89.el8_6.13, +37 more
    fixed: vendor fix RHSA-2024:5622
  • Red Hat Enterprise Linux AppStream E4S (v.9.0) fence-virt 4.10.0-20.el9_0.15, fence-virtd 4.10.0-20.el9_0.15, fence-agents 4.10.0-20.el9_0.15, fence-virtd-cpg 4.10.0-20.el9_0.15, fence-virtd-tcp 4.10.0-20.el9_0.15, fence-agents-virsh 4.10.0-20.el9_0.15, +9 more
    fixed: vendor fix RHSA-2024:5627
  • Red Hat Enterprise Linux AppStream EUS (v.8.8) fence-agents 4.2.1-112.el8_8.7, fence-agents-all 4.2.1-112.el8_8.7, fence-agents-apc 4.2.1-112.el8_8.7, fence-agents-eps 4.2.1-112.el8_8.7, fence-agents-rsa 4.2.1-112.el8_8.7, fence-agents-rsb 4.2.1-112.el8_8.7, +38 more
    fixed: vendor fix RHSA-2024:4746
  • Red Hat Enterprise Linux AppStream EUS (v.9.2) fence-virt 4.10.0-43.el9_2.7, fence-virtd 4.10.0-43.el9_2.7, fence-agents 4.10.0-43.el9_2.7, fence-virtd-cpg 4.10.0-43.el9_2.7, fence-virtd-tcp 4.10.0-43.el9_2.7, fence-agents-virsh 4.10.0-43.el9_2.7, +8 more
    fixed: vendor fix RHSA-2024:5633
  • Red Hat Enterprise Linux AppStream EUS (v.9.4) python3.11-urllib3 1.26.12-2.el9_4.1, python3.12-urllib3 1.26.18-2.el9_4.1
    fixed: vendor fix RHSA-2024:9922
  • Red Hat Enterprise Linux AppStream TUS (v.8.4) fence-agents 4.2.1-65.el8_4.17, fence-agents-all 4.2.1-65.el8_4.17, fence-agents-apc 4.2.1-65.el8_4.17, fence-agents-eps 4.2.1-65.el8_4.17, fence-agents-rsa 4.2.1-65.el8_4.17, fence-agents-rsb 4.2.1-65.el8_4.17, +36 more
    fixed: vendor fix RHSA-2024:4730
  • Red Hat Enterprise Linux AppStream TUS (v.8.6) fence-agents 4.2.1-89.el8_6.13, fence-agents-all 4.2.1-89.el8_6.13, fence-agents-apc 4.2.1-89.el8_6.13, fence-agents-eps 4.2.1-89.el8_6.13, fence-agents-rsa 4.2.1-89.el8_6.13, fence-agents-rsb 4.2.1-89.el8_6.13, +36 more
    fixed: vendor fix RHSA-2024:5622
  • Red Hat Enterprise Linux BaseOS (v. 8) python-urllib3 1.24.2-8.el8_10, python3-urllib3 1.24.2-8.el8_10
    fixed: vendor fix RHSA-2024:5309
  • Red Hat Enterprise Linux BaseOS (v. 9) python-urllib3 1.26.5-5.el9_4.1, python3-urllib3 1.26.5-5.el9_4.1
    fixed: vendor fix RHSA-2024:6162
  • Red Hat Enterprise Linux BaseOS AUS (v.8.6) python-urllib3 1.24.2-5.el8_6.3, python3-urllib3 1.24.2-5.el8_6.3 Red Hat Enterprise Linux BaseOS E4S (v.8.6) python-urllib3 1.24.2-5.el8_6.3, python3-urllib3 1.24.2-5.el8_6.3
    fixed: vendor fix RHSA-2024:5041
  • Red Hat Enterprise Linux BaseOS E4S (v.9.0) python-urllib3 1.26.5-3.el9_0.1, python3-urllib3 1.26.5-3.el9_0.1
    fixed: vendor fix RHSA-2024:6358
  • Red Hat Enterprise Linux BaseOS EUS (v.8.8) python-urllib3 1.24.2-5.el8_8.2, python3-urllib3 1.24.2-5.el8_8.2
    fixed: vendor fix RHSA-2024:5526
  • Red Hat Enterprise Linux BaseOS EUS (v.9.2) python-urllib3 1.26.5-3.el9_2.2, python3-urllib3 1.26.5-3.el9_2.2
    fixed: vendor fix RHSA-2024:6240
  • Red Hat Enterprise Linux BaseOS TUS (v.8.6) python-urllib3 1.24.2-5.el8_6.3, python3-urllib3 1.24.2-5.el8_6.3
    fixed: vendor fix RHSA-2024:5041
  • Red Hat Enterprise Linux High Availability AUS (v.8.4) resource-agents 4.1.1-90.el8_4.17, fence-agents-aws 4.2.1-65.el8_4.17, fence-agents-gce 4.2.1-65.el8_4.17, fence-agents-aliyun 4.2.1-65.el8_4.17, resource-agents-gcp 4.1.1-90.el8_4.17, fence-agents-azure-arm 4.2.1-65.el8_4.17, +1 more
    fixed: vendor fix RHSA-2024:4730
  • Red Hat Enterprise Linux High Availability E4S (v.8.6) resource-agents 4.9.0-16.el8_6.13, fence-agents-aws 4.2.1-89.el8_6.13, fence-agents-gce 4.2.1-89.el8_6.13, fence-agents-aliyun 4.2.1-89.el8_6.13, resource-agents-gcp 4.9.0-16.el8_6.13, resource-agents-paf 4.9.0-16.el8_6.13, +2 more
    fixed: vendor fix RHSA-2024:5622
  • Red Hat Enterprise Linux High Availability E4S (v.9.0) fence-agents-all 4.10.0-20.el9_0.15, fence-agents-apc 4.10.0-20.el9_0.15, fence-agents-aws 4.10.0-20.el9_0.15, fence-agents-eps 4.10.0-20.el9_0.15, fence-agents-gce 4.10.0-20.el9_0.15, fence-agents-rsa 4.10.0-20.el9_0.15, +36 more
    fixed: vendor fix RHSA-2024:5627
  • Red Hat Enterprise Linux High Availability EUS (v.8.8) resource-agents 4.9.0-40.el8_8.4, fence-agents-aws 4.2.1-112.el8_8.7, fence-agents-gce 4.2.1-112.el8_8.7, resource-agents-gcp 4.9.0-40.el8_8.4, resource-agents-paf 4.9.0-40.el8_8.4, fence-agents-aliyun 4.2.1-112.el8_8.7, +3 more
    fixed: vendor fix RHSA-2024:4746
  • Red Hat Enterprise Linux High Availability EUS (v.9.2) fence-agents-all 4.10.0-43.el9_2.7, fence-agents-apc 4.10.0-43.el9_2.7, fence-agents-aws 4.10.0-43.el9_2.7, fence-agents-eps 4.10.0-43.el9_2.7, fence-agents-gce 4.10.0-43.el9_2.7, fence-agents-rsa 4.10.0-43.el9_2.7, +36 more
    fixed: vendor fix RHSA-2024:5633
  • Red Hat Enterprise Linux High Availability TUS (v.8.6) resource-agents 4.9.0-16.el8_6.13, fence-agents-aws 4.2.1-89.el8_6.13, fence-agents-gce 4.2.1-89.el8_6.13, fence-agents-aliyun 4.2.1-89.el8_6.13, resource-agents-gcp 4.9.0-16.el8_6.13, resource-agents-paf 4.9.0-16.el8_6.13, +2 more
    fixed: vendor fix RHSA-2024:5622
  • Red Hat Enterprise Linux HighAvailability (v. 8) resource-agents 4.9.0-54.el8_10.4, fence-agents-aws 4.2.1-129.el8_10.4, fence-agents-gce 4.2.1-129.el8_10.4, resource-agents-gcp 4.9.0-54.el8_10.4, resource-agents-paf 4.9.0-54.el8_10.4, fence-agents-aliyun 4.2.1-129.el8_10.4, +3 more
    fixed: vendor fix RHSA-2024:6309

11 more fixed, 10 more not affected in the full advisory

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
2y ago

Exploit prediction

1.14% chance of exploitation in the next 30 days, higher than 67% of all scored CVEs (FIRST EPSS, 2026-11-11).

Exploits and checks

  • vicarius.io https://www.vicarius.io/vsociety/posts/proxy-authorization-header-handling-vulnerability-in-urllib3-cve-2024-37891 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
CNA 3.1 4.4 CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N
GitHub 3.1 4.4 CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N
NVD 3.1 6.5 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
OSV 3.1 4.4 CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N

Affected packages

ecosystem package affected fixed in
pypi urllib3
<1.26.19
>=2.0.0, <2.2.2
1.26.19
2.2.2

Affected products

  • urllib3 urllib3

Classification

Weakness
  • CWE-669 Incorrect Resource Transfer Between Spheres

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

The maintainers of urllib3/urllib3 published their own advisory on GitHub. Reviewed sources take precedence over it.

CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.