cve.bz

CVE-2023-43804

8.1 highEPSS 1.4%Fix available

High (8.1). EPSS 1.4% estimated probability of exploitation activity in the next 30 days. Fixed in urllib3 1.26.17, 2.0.6.

On this page
urllib3 is a user-friendly HTTP client library for Python. urllib3 doesn't treat the `Cookie` HTTP header special or provide any helpers for managing cookies over HTTP, that is the responsibility of the user. However, it is possible for a user to specify a `Cookie` header and unknowingly leak information via HTTP redirects to a different origin if that user doesn't disable redirects explicitly. This issue has been patched in urllib3 version 1.26.17 or 2.0.5.

Severity

CVSS 3.1

8.1 high
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
EPSS
1.4% (unchanged from 1.4% a week ago; 1.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 72nd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-43804 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-43804?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-43804?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-2023-43804 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.17
python:urllib3from 2.0.0 before 2.0.6
debian:debian_linux10.0
fedoraproject:fedora37
fedoraproject:fedora38
fedoraproject:fedora39

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-v845-jxx5-vc9fPyPIurllib3>=2.0.0 <2.0.62.0.6
GHSA-v845-jxx5-vc9fPyPIurllib3<1.26.171.26.17
PYSEC-2023-192PyPIurllib3>=2.0.0 <2.0.6
<1.26.17
2.0.6, 1.26.17

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10python-urllib31.24.1-1+deb10u1DLA-3610-1
Debian11python-urllib31.26.5-1~exp1+deb11u1DLA-3998-1
Debian12python-urllib31.26.12-1+deb12u1DEBIAN-CVE-2023-43804
Debian13, 14python-urllib31.26.17-1DEBIAN-CVE-2023-43804
Ubuntu20.04:LTSpython-pip20.0.2-5ubuntu1.10UBUNTU-CVE-2023-43804 USN-6473-2
Ubuntu20.04:LTSpython-urllib31.25.8-2ubuntu0.3UBUNTU-CVE-2023-43804 USN-6473-1
Ubuntu22.04:LTSpython-pip22.0.2+dfsg-1ubuntu0.4UBUNTU-CVE-2023-43804 USN-6473-2
Ubuntu22.04:LTSpython-urllib31.26.5-1~exp1ubuntu0.1UBUNTU-CVE-2023-43804 USN-6473-1
UbuntuPro:14.04:LTSpython-pipno fix listedUBUNTU-CVE-2023-43804
UbuntuPro:16.04:LTSpython-pip8.1.1-2ubuntu0.6+esm6UBUNTU-CVE-2023-43804 USN-6473-2
UbuntuPro:16.04:LTSpython-urllib31.13.1-2ubuntu0.16.04.4+esm1UBUNTU-CVE-2023-43804 USN-6473-1
UbuntuPro:18.04:LTSpython-pip9.0.1-2.3~ubuntu1.18.04.8+esm2UBUNTU-CVE-2023-43804 USN-6473-2
UbuntuPro:18.04:LTSpython-urllib31.22-1ubuntu0.18.04.2+esm1UBUNTU-CVE-2023-43804 USN-6473-1
Red Hatansible_automation_platform:2.4::el8automation-controller-venv-tower0:4.4.7-1.el8apRHSA-2023:6158
Red Hatansible_automation_platform:2.4::el8automation-controller-venv-tower0:4.5.1-1.el8apRHSA-2024:0733
Red Hatansible_automation_platform:2.4::el8python39-urllib3, python3x-urllib30:1.26.18-1.el8apRHSA-2023:6158
Red Hatansible_automation_platform:2.4::el8, ansible_automation_platform_developer:2.4::el8, ansible_automation_platform_inside:2.4::el8ansible-core1:2.15.9-1.el8apRHSA-2024:0733
Red Hatansible_automation_platform:2.4::el9automation-controller-venv-tower0:4.4.7-1.el9apRHSA-2023:6158
Red Hatansible_automation_platform:2.4::el9automation-controller-venv-tower0:4.5.1-1.el9apRHSA-2024:0733
Red Hatansible_automation_platform:2.4::el9python-urllib3, python3-urllib30:1.26.18-1.el9apRHSA-2023:6158
Red Hatansible_automation_platform:2.4::el9, ansible_automation_platform_developer:2.4::el9, ansible_automation_platform_inside:2.4::el9ansible-core1:2.15.9-1.el9apRHSA-2024:0733
Red Hatenterprise_linux:8::appstreamCython, python2-Cython, Cython-debugsource and 1 more0:0.28.1-7.module+el8.9.0+19487+7dc18407RHSA-2024:2987
Red Hatenterprise_linux:8::appstreamPyYAML, python2-pyyaml, PyYAML-debugsource and 1 more0:3.12-16.module+el8.9.0+19487+7dc18407RHSA-2024:2987
Red Hatenterprise_linux:8::appstreamPyYAML, python39-pyyaml, PyYAML-debugsource and 1 more0:5.4.1-1.module+el8.9.0+19644+d68f775dRHSA-2024:2985
Red Hatenterprise_linux:8::appstreambabel, python2-babel0:2.5.1-10.module+el8.9.0+19487+7dc18407RHSA-2024:2987
120 more for Red Hat in the JSON and on Red Hat's page.
SUSEHPE Helion OpenStack 8, OpenStack Cloud 8, OpenStack Cloud Crowbar 8python-urllib31.25.10-5.22.1SUSE-SU-2023:4157-1
SUSELinux Enterprise Micro 5.1, Linux Enterprise Micro 5.2, Linux Enterprise Micro 5.3 and 6 morepython-urllib31.25.10-150300.4.6.1SUSE-SU-2023:4108-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.34.1SUSE-SU-2023:4064-1
SUSEOpenStack Cloud 9, OpenStack Cloud Crowbar 9python-urllib31.23-3.25.1SUSE-SU-2023:4352-1
openSUSETumbleweedpython-urllib32.0.6-1.1openSUSE-SU-2024:13301-1
openSUSETumbleweedpython-urllib32.8.0-1.1openSUSE-SU-2026:12044-1
openSUSETumbleweedpython-urllib3_11.26.20-7.2openSUSE-SU-2026:12045-1
AlmaLinux8babel, python2-babel2.5.1-10.module_el8.6.0+2781+fed64c13ALSA-2024:2987
AlmaLinux8fence-agents-all, fence-agents-apc, fence-agents-aws and 44 more4.2.1-121.el8_9.2ALSA-2024:0133
AlmaLinux8python2, python2-libs, python2-test and 4 more2.7.18-17.module_el8.10.0+3783+2756348e.almaALSA-2024:2987
AlmaLinux8python2-Cython0.28.1-7.module_el8.6.0+2781+fed64c13ALSA-2024:2987
AlmaLinux8python2-Cython0.28.1-7.module_el8.6.0+3162+01a09e5aALSA-2024:2987
AlmaLinux8python2-PyMySQL0.8.0-10.module_el8.6.0+2781+fed64c13ALSA-2024:2987
AlmaLinux8python2-attrs17.4.0-10.module_el8.6.0+2781+fed64c13ALSA-2024:2987
AlmaLinux8python2-backports1.0-16.module_el8.6.0+2781+fed64c13ALSA-2024:2987
AlmaLinux8python2-backports1.0-16.module_el8.6.0+3162+01a09e5aALSA-2024:2987
AlmaLinux8python2-backports-ssl_match_hostname3.5.0.1-12.module_el8.6.0+2781+fed64c13ALSA-2024:2987
AlmaLinux8python2-bson, python2-pymongo, python2-pymongo-gridfs3.7.0-1.module_el8.6.0+2781+fed64c13ALSA-2024:2987
AlmaLinux8python2-bson, python2-pymongo, python2-pymongo-gridfs3.7.0-1.module_el8.6.0+3162+01a09e5aALSA-2024:2987
85 more for AlmaLinux in the JSON.
Rocky Linux8Cython0:0.28.1-7.module+el8.9.0+1531+a18208f5RLSA-2024:2987
Rocky Linux8Cython0:0.29.21-5.module+el8.10.0+1582+bc278001RLSA-2024:2985
Rocky Linux8PyYAML0:3.12-16.module+el8.9.0+1531+a18208f5RLSA-2024:2987
Rocky Linux8PyYAML0:5.4.1-1.module+el8.10.0+1582+bc278001RLSA-2024:2985
Rocky Linux8babel0:2.5.1-10.module+el8.9.0+1531+a18208f5RLSA-2024:2987
Rocky Linux8mod_wsgi0:4.7.1-7.module+el8.10.0+1582+bc278001RLSA-2024:2985
Rocky Linux8numpy0:1.19.4-3.module+el8.10.0+1582+bc278001RLSA-2024:2985
Rocky Linux8numpy1:1.14.2-16.module+el8.9.0+1531+a18208f5RLSA-2024:2987
Rocky Linux8pybind110:2.7.1-1.module+el8.9.0+1357+a3b80af7RLSA-2024:2985
Rocky Linux8pytest0:3.4.2-13.module+el8.9.0+1531+a18208f5RLSA-2024:2987
Rocky Linux8pytest0:6.0.2-2.module+el8.10.0+1582+bc278001RLSA-2024:2985
Rocky Linux8python-PyMySQL0:0.10.1-2.module+el8.10.0+1582+bc278001RLSA-2024:2985
39 more for Rocky Linux in the JSON.

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; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause. 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 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.18-1.el8apFixed 2023-10-30RHSA-2023:6158
Red Hat Ansible Automation Platform 2.4 for RHEL 8automation-controller-0:4.5.1-1.el8apFixed 2024-02-07RHSA-2024:0733
Red Hat Ansible Automation Platform 2.4 for RHEL 9python-urllib3-0:1.26.18-1.el9apFixed 2023-10-30RHSA-2023:6158
Red Hat Ansible Automation Platform 2.4 for RHEL 9automation-controller-0:4.5.1-1.el9apFixed 2024-02-07RHSA-2024:0733
Red Hat Enterprise Linux 8fence-agents-0:4.2.1-121.el8_9.2Fixed 2024-01-10RHSA-2024:0133
Red Hat Enterprise Linux 8python39:3.9-8100020240214182535.7044f6c1Fixed 2024-05-22RHSA-2024:2985
Red Hat Enterprise Linux 8python39-devel:3.9-8100020240214182535.7044f6c1Fixed 2024-05-22RHSA-2024:2985
Red Hat Enterprise Linux 8python3.11-urllib3-0:1.26.12-2.el8Fixed 2024-05-22RHSA-2024:2986
Red Hat Enterprise Linux 8python27:2.7-8100020240208011952.5f0f67deFixed 2024-05-22RHSA-2024:2987
Red Hat Enterprise Linux 8python-urllib3-0:1.24.2-5.el8_9.2Fixed 2024-01-10RHSA-2024:0116
Red Hat Certification for Red Hat Enterprise Linux 8redhat-certification-baremetal-containerWill not fix
Red Hat Enterprise Linux 6python-urllib3Out of support scope
Red Hat Enterprise Linux 7python-pipOut of support scope
Red Hat Enterprise Linux 7python-s3transferOut of support scope
Red Hat Enterprise Linux 7python-urllib3Out of support scope
Red Hat Enterprise Linux 7resource-agentsOut of support scope
Red Hat Enterprise Linux 8container-tools:rhel8/python-podmanNot affected
Red Hat Enterprise Linux 8gimp:flatpak/python2-pipNot affected
Red Hat Enterprise Linux 8inkscape:flatpak/python2-pipNot affected
Red Hat Enterprise Linux 8python3.11-pipNot affected
71 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-2023-43804.

GitHub PoC

Repositories on GitHub named after this CVE or listed for it by the PoC-in-GitHub index. For those marked Harbor Check: matches CVE, Flawharbor read the code and found it implements this CVE's exploitation technique: read, not run, and its dependencies only checked for warning signs, so a pointer and no guarantee. The rest are unverified: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it. How Harbor Check reads them, and what it found.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-200 (59).

References

Check your stackJSON