Skip to content
Fencer Vulns
medium 6.1

CVE-2023-32681 json

Unintended leak of Proxy-Authorization header in requests

published 2023-05-22 3 y ago modified 2026-09-10 1 mo ago also GHSA-j8r2-6x86-q33q , PYSEC-2023-74 , EUVD-2023-0227

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

Summary

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.

Patch / fix

  • pypi requests 2.31.0
  • python requests 2.31.0
  • requests Debian 14, Debian 13 2.31.0+dfsg-1

debian advisories DEBIAN-CVE-2023-32681

  • requests Ubuntu 20.04 LTS 2.22.0-2ubuntu1.1
  • requests Ubuntu 22.04 LTS 2.25.1+dfsg-2ubuntu0.1
  • python-pip Ubuntu 20.04 LTS 20.0.2-5ubuntu1.9
  • python-pip Ubuntu 22.04 LTS 22.0.2+dfsg-1ubuntu0.7
  • requests Ubuntu Pro 14.04 LTS 2.2.1-1ubuntu0.4+esm1
  • requests Ubuntu Pro 16.04 LTS 2.9.1-3ubuntu0.1+esm1
  • requests Ubuntu Pro 18.04 LTS 2.18.4-2ubuntu0.1+esm1

ubuntu advisories UBUNTU-CVE-2023-32681

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

  • foreman satellite utils 6.14, satellite capsule 6.14, satellite 6.14 3.7.0.9-1.el8sat
  • foreman-cli satellite utils 6.14, satellite 6.14 3.7.0.9-1.el8sat
  • foreman-ec2 satellite 6.14 3.7.0.9-1.el8sat
  • rubygem-git satellite 6.14 1.18.0-1.el8sat
  • puppet-agent satellite capsule 6.14, satellite 6.14 7.26.0-3.el8sat
  • puppetserver satellite capsule 6.14, satellite 6.14 7.11.0-1.el8sat
  • rubygem-rack satellite capsule 6.14, satellite 6.14 2.2.7-1.el8sat
  • foreman-ovirt satellite 6.14 3.7.0.9-1.el8sat

red hat advisories RHSA-2023:6818RHSA-2023:6793RHSA-2023:4693RHSA-2024:0299RHSA-2023:7034RHSA-2023:7050

  • python-requests SLE Real Time 15 SP3, SLE Module for Basesystem 15 SP5, SLE Module for Basesystem 15 SP4 +13 more 2.24.0-150300.3.3.1
  • python-requests SLES for SAP 15 SP2, SLES for SAP 15 SP1, SLES 15 SP2-LTSS +5 more 2.25.1-150100.6.16.1
  • python3-requests SLES for SAP 12 SP5, SLES 12 SP5, SLE Workstation Extension 12 SP5 +1 more 2.24.0-8.17.1
  • python-requests SLE Module for Advanced Systems Management 12, SLE High Availability Extension 12 SP4, Manager Client Tools 12 2.11.1-6.34.1
  • python-requests SLES for SAP 12 SP5, SLES 12 SP5, SLE Module for Public Cloud 12 +1 more 2.24.0-8.14.1

suse advisories SUSE-SU-2024:2685-1SUSE-SU-2023:3094-1SUSE-SU-2023:2883-1SUSE-SU-2023:2866-1SUSE-SU-2023:2865-1SUSE-SU-2023:2638-1

  • python-requests openSUSE Tumbleweed 2.34.2-1.2
  • oci-cli openSUSE Tumbleweed 3.54.1-1.1
  • python-requests openSUSE Tumbleweed 2.31.0-1.2

opensuse advisories openSUSE-SU-2026:12038-1openSUSE-SU-2025:14997-1openSUSE-SU-2024:12998-1

  • python39 AlmaLinux 8 3.9.18-1.module_el8.9.0+3672+853baa42
  • python39-py AlmaLinux 8 1.10.0-1.module_el8.6.0+2780+a40f65e1
  • python39-pip AlmaLinux 8 20.2.4-8.module_el8.9.0+3634+fb2a896c
  • python39-ply AlmaLinux 8 3.11-10.module_el8.6.0+2780+a40f65e1
  • python39-six AlmaLinux 8 1.15.0-3.module_el8.6.0+2780+a40f65e1
  • python39-cffi AlmaLinux 8 1.14.3-2.module_el8.6.0+2780+a40f65e1
  • python39-cffi AlmaLinux 8 1.14.3-2.module_el8.6.0+3248+c431e88c
  • python39-idle AlmaLinux 8 3.9.18-1.module_el8.9.0+3672+853baa42

almalinux advisories ALSA-2023:7034ALSA-2023:7042ALSA-2023:7050ALSA-2023:4520ALSA-2023:4350

  • pytz Rocky Linux 8 2017.2-13.module+el8.10.0+1817+0b01df83
  • babel Rocky Linux 8 2.5.1-10.module+el8.9.0+1531+a18208f5
  • numpy Rocky Linux 8 1:1.14.2-16.module+el8.9.0+1531+a18208f5
  • scipy Rocky Linux 8 1.0.0-22.module+el8.10.0+1817+0b01df83
  • Cython Rocky Linux 8 0.28.1-7.module+el8.9.0+1531+a18208f5
  • pytest Rocky Linux 8 3.4.2-13.module+el8.9.0+1531+a18208f5
  • PyYAML Rocky Linux 8 3.12-16.module+el8.9.0+1531+a18208f5
  • python-py Rocky Linux 8 1.5.3-6.module+el8.9.0+1531+a18208f5

rocky linux advisories RLSA-2023:7042RLSA-2023:7034RLSA-2023:7050RLSA-2023:4520

  • python-requests CBL-Mariner 2.0 2.27.1-6

azure linux advisories AZL-26985

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

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-2023-32681 updated cvss 6.1

python-requests: Unintended leak of Proxy-Authorization header

  • Red Hat Ansible Automation Platform 1.2 python-requests
    affected: workaround, no fix available
  • Red Hat Enterprise Linux 6 python-requests Red Hat Enterprise Linux 7 python-requests Red Hat OpenShift Container Platform 3.11 python-requests, python2-requests Red Hat OpenStack Platform 13 (Queens) python2-requests
    affected: workaround, no fix planned “Out of support scope”
  • Red Hat Update Infrastructure 4 for Cloud Providers python-requests
    affected: workaround, no fix available
  • Red Hat Ansible Automation Platform 2.4 for RHEL 8 python39-requests 2.31.0-1.el8ap, python3x-requests 2.31.0-1.el8ap
    fixed: vendor fix RHSA-2023:4693
  • Red Hat CodeReady Linux Builder (v. 8) pytest 4.6.6-3.module+el8.9.0+19592+4b459c9b, pytest 6.0.2-2.module+el8.9.0+19644+d68f775d, Cython 0.29.21-5.module+el8.9.0+19644+d68f775d, pybind11 2.7.1-1.module+el8.9.0+19644+d68f775d, python-py 1.8.0-8.module+el8.9.0+19592+4b459c9b, python-py 1.10.0-1.module+el8.9.0+19644+d68f775d, +34 more
    fixed: vendor fix RHSA-2023:7050
  • Red Hat Enterprise Linux AppStream (v. 8) pytz 2019.3-4.module+el8.9.0+19598+4a60c7b7, scipy 1.3.1-5.module+el8.9.0+19598+4a60c7b7, scipy 1.5.4-5.module+el8.9.0+19644+d68f775d, babel 2.5.1-10.module+el8.9.0+19487+7dc18407, babel 2.7.0-11.module+el8.9.0+19598+4a60c7b7, numpy 1.17.3-7.module+el8.9.0+19598+4a60c7b7, +203 more
    fixed: vendor fix RHSA-2023:7042
  • Red Hat Enterprise Linux AppStream (v. 9) python3-requests+socks 2.25.1-7.el9_2, python3-requests+security 2.25.1-7.el9_2
    fixed: vendor fix RHSA-2023:4350
  • Red Hat Enterprise Linux BaseOS (v. 8) python-requests 2.20.0-3.el8_8, python3-requests 2.20.0-3.el8_8
    fixed: vendor fix RHSA-2023:4520
show 5 more
  • Red Hat Enterprise Linux BaseOS (v. 9) python-requests 2.25.1-7.el9_2, python3-requests 2.25.1-7.el9_2
    fixed: vendor fix RHSA-2023:4350
  • Red Hat Enterprise Linux BaseOS EUS (v.8.6) python-requests 2.20.0-3.el8_6, python3-requests 2.20.0-3.el8_6
    fixed: vendor fix RHSA-2024:0299
  • Red Hat Satellite 6.14 for RHEL 8 python-requests 2.31.0-1.el8pc, python39-requests 2.31.0-1.el8pc
    fixed: vendor fix RHSA-2023:6818
  • Red Hat Software Collections for RHEL Workstation(v. 7) rh-python38-python-requests 2.22.0-11.el7 Red Hat Software Collections for RHEL(v. 7) rh-python38-python-requests 2.22.0-11.el7
    fixed: vendor fix RHSA-2023:6793
  • Red Hat Ansible Automation Platform 2.4 for RHEL 8 python39-rsa 4.7.2-1.el8ap, python3x-rsa 4.7.2-1.el8ap, python39-django 3.2.20-1.el8ap, python3x-django 3.2.20-1.el8ap, python39-cryptography 38.0.4-2.el8ap, python3x-cryptography 38.0.4-2.el8ap, +3 more Red Hat Ansible Automation Platform 2.4 for RHEL 9 python-rsa 4.7.2-1.el9ap, python3-rsa 4.7.2-1.el9ap, python-django 3.2.20-1.el9ap, python3-django 3.2.20-1.el9ap, python-requests 2.31.0-1.el9ap, python3-requests 2.31.0-1.el9ap, +5 more Red Hat Satellite 6.14 for RHEL 8 cjson 1.7.14-5.el8sat, katello 4.9.0-1.el8sat, libsolv 0.7.22-4.el8pc, libcomps 0.1.18-4.el8pc, python-idna 3.3-2.el8pc, candlepin 4.3.1-1.el8sat, +667 more Red Hat Software Collections for RHEL Workstation(v. 7) rh-python38-python 3.8.18-2.el7, rh-python38-python-pip 19.3.1-4.el7, rh-python38-python-idle 3.8.18-2.el7, rh-python38-python-libs 3.8.18-2.el7, rh-python38-python-test 3.8.18-2.el7, rh-python38-python-wheel 0.33.6-9.el7, +8 more Red Hat Software Collections for RHEL(v. 7) rh-python38-python 3.8.18-2.el7, rh-python38-python-pip 19.3.1-4.el7, rh-python38-python-idle 3.8.18-2.el7, rh-python38-python-libs 3.8.18-2.el7, rh-python38-python-test 3.8.18-2.el7, rh-python38-python-wheel 0.33.6-9.el7, +8 more
    not affected: vulnerable code not present

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
21 mo ago

Exploit prediction

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

CVSS scores

assigned by version score vector
CNA 3.1 6.1 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:N/A:N
NVD 3.1 6.1 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:N/A:N
GitHub 3.1 6.1 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:N/A:N

Affected packages

ecosystem package affected fixed in
pypi requests
>=2.3.0, <2.31.0
2.31.0

Affected products

  • psf requests

Classification

Weakness
  • CWE-200 Exposure of Sensitive Information to an Unauthorized Actor

References

Sources

Fencer Vulns 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.