CVE-2023-32681: Unintended leak of Proxy-Authorization header in requests
Vulnerability summary
CVE-2023-32681 is a medium (CVSS 6.1) vulnerability in fedoraproject fedora. EPSS estimates a 2.97% chance of exploitation in the next 30 days, higher than 87.2% of scored vulnerabilities.
Not severe (CVSS 6.1, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 9 · Related 6Timeline
- 26-05-2023PublishedVulnerability first disclosed.
- 13-02-2025Last modifiedVulnerability information updated.
Description
Requests is a HTTP library. Since Requests 2.3.0, Requests has been leaking Proxy-Authorization headers to destination servers when redirected to an HTTPS endpoint. This is a product of how we use `rebuild_proxies` to reattach the `Proxy-Authorization` header to requests. For HTTP connections sent through the tunnel, the proxy will identify the header in the request itself and remove it prior to forwarding to the destination server. However when sent over HTTPS, the `Proxy-Authorization` header must be sent in the CONNECT request as the proxy has no visibility into the tunneled request. This results in Requests forwarding proxy credentials to the destination server unintentionally, allowing a malicious actor to potentially exfiltrate sensitive information. This issue has been patched in version 2.31.0.
CVSS metrics
7 scores · 7 sources · 1 version- OSV · PypiEcosystem advisory · calculated6.1MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:N/A:N
- OSV · Red hatEcosystem advisory · calculated6.1MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:N/A:N
- OSV · UbuntuEcosystem advisory · calculated6.1MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:N/A:N
- OSV · DebianEcosystem advisory · calculated6.1MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:N/A:N
- OSV · ChainguardEcosystem advisory · calculated6.1MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:N/A:N
- NVDNIST6.1MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:N/A:N
EPSS trend
Probability
2.97%
Chance of exploitation in the next 30 days
Percentile
87%
Versus all other CVEs
30-day change
No change 0.00 pp
From 2.97% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Redhat123 products
- babel< 0:2.5.1-10.module+el8.9.0+19487+7dc18407
- Cython< 0:0.28.1-7.module+el8.9.0+19487+7dc18407
- Cython-debugsource< 0:0.28.1-7.module+el8.9.0+19487+7dc18407
- numpy< 1:1.14.2-16.module+el8.9.0+19487+7dc18407
- numpy-debugsource< 1:1.14.2-16.module+el8.9.0+19487+7dc18407
Suse32 products
- python-requests&distro=SUSE Enterprise Storage 7< 2.25.1-150100.6.16.1
- python-requests&distro=SUSE Enterprise Storage 7.1< 2.24.0-150300.3.3.1
- python-requests&distro=SUSE Linux Enterprise High Availability Extension 12 SP4< 2.11.1-6.34.1
- python-requests&distro=SUSE Linux Enterprise High Availability Extension 12 SP5< 2.24.0-8.14.1
- python-requests&distro=SUSE Linux Enterprise High Performance Computing 15 SP1-LTSS< 2.25.1-150100.6.16.1
Opensuse4 products
- python-requests&distro=openSUSE Leap 15.4< 2.24.0-150300.3.3.1
- python-requests&distro=openSUSE Leap 15.5< 2.24.0-150300.3.3.1
- python-requests&distro=openSUSE Leap Micro 5.3< 2.24.0-150300.3.3.1
- python-requests&distro=openSUSE Tumbleweed< 2.31.0-1.2
Ubuntu2 products
- python-pip< 20.0.2-5ubuntu1.9 | < 22.0.2+dfsg-1ubuntu0.7
- requests< 2.2.1-1ubuntu0.4+esm1 | < 2.22.0-2ubuntu1.1 | < 2.25.1+dfsg-2ubuntu0.1 | < 2.9.1-3ubuntu0.1+esm1 | < 2.18.4-2ubuntu0.1+esm1
Chainguard1 product
- k8s-sidecar-1.22< 1.22.4-r2
Debian1 product
- requests< 2.21.0-1+deb10u1 | All versions (No fix recorded) | < 2.31.0+dfsg-1
Fedoraproject1 product
- fedoraEOL37
Mageia1 product
- python-requests< 2.25.1-1.2.mga8
Psf1 product
- requests≥ 2.3.0, < 2.31.0
PyPI1 product
- requests< 74ea7cf7a6a27a4eeb2ae24e162bcc942a6706d5 | ≥ 2.3.0, < 2.31.0
Python1 product
- requests≥ 2.3.0, < 2.31.0
11 vendors · 168 products
References
52 links- github.com/psf/requests/security/advisories/GHSA-j8r2-6x86-q33qX Refsource CONFIRMWEBAdvisoryARTICLEREPORTVendor Advisory
Show all 52 references
- github.com/psf/requestsPACKAGE