
CVE catalog
CVE-2023-45803
pip vulnerabilities
- Severity
- Medium · CVSS 4.2
CVSS:3.1/AV:A/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.59% · Oct 25, 2026
urllib3 is a user-friendly HTTP client library for Python. urllib3 previously wouldn't remove the HTTP request body when an HTTP redirect response using status 301, 302, or 303 after the request had its method changed from one that could accept a request body (like `POST`) to `GET` as is required by HTTP RFCs. Although this behavior is not specified in the section for redirects, it can be inferred by piecing together information from different sections and we have observed the behavior in other major HTTP client implementations like curl and web browsers. Because the vulnerability requires a previously trusted service to become compromised in order to have an impact on confidentiality we believe the exploitability of this vulnerability is low. Additionally, many users aren't putting sensitive data in HTTP request bodies, if this is the case then this vulnerability isn't exploitable. Both of the following conditions must be true to be affected by this vulnerability: 1. Using urllib3 and submitting sensitive information in the HTTP request body (such as form data or JSON) and 2. The origin service is compromised and starts redirecting using 301, 302, or 303 to a malicious peer or the redirected-to service becomes compromised. This issue has been addressed in versions 1.26.18 and 2.0.7 and users are advised to update to resolve this issue. Users unable to update should disable redirects for services that aren't expecting to respond with redirects with `redirects=False` and disable automatic redirects with `redirects=False` and handle 301, 302, and 303 redirects manually by stripping the HTTP request body.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | python-urllib3 | sid | 2.8.0-2 | fixed |
| Debian | python-urllib3 | forky | 2.8.0-2 | fixed |
| Debian | python-urllib3 | trixie | 2.3.0-3+deb13u2 | fixed |
| Debian | python-urllib3 | trixie-security | 2.3.0-3+deb13u2 | fixed |
| Debian | python-urllib3 | bookworm | 1.26.12-1+deb12u4 | fixed |
| Debian | python-urllib3 | bookworm-security | 1.26.12-1+deb12u4 | fixed |
| Ubuntu | python-pip | noble | 24.0+dfsg-1ubuntu1.3 | fixed |
| Ubuntu | python3-pip | noble | 24.0+dfsg-1ubuntu1.3 | fixed |
| Ubuntu | python3-pip-whl | noble | 24.0+dfsg-1ubuntu1.3 | fixed |
| PyPI | urllib3 | Not reported | 1.26.18 | fixed |
| PyPI | urllib3 | Not reported | 1.26.18 | fixed |
| PyPI | urllib3 | Not reported | 4e98d57809dacab1cbe625fddeec1a290c478ea9 | fixed |
| PyPI | urllib3 | Not reported | 2.0.7 | fixed |
| Alpine | py3-urllib3 | 3.15 | 1.26.18-r0 | fixed |
| Alpine | py3-urllib3 | 3.16 | 1.26.18-r0 | fixed |
| Alpine | py3-urllib3 | 3.17 | 1.26.18-r0 | fixed |
| Alpine | py3-urllib3 | 3.18 | 1.26.18-r0 | fixed |
| Alpine | py3-urllib3 | 3.19 | 1.26.18-r0 | fixed |
| Alpine | py3-urllib3 | 3.20 | 1.26.18-r0 | fixed |
| Alpine | py3-urllib3 | 3.21 | 1.26.18-r0 | fixed |
| Alpine | py3-urllib3 | 3.22 | 1.26.18-r0 | fixed |
| Alpine | py3-urllib3 | 3.23 | 1.26.18-r0 | fixed |
| Alpine | py3-urllib3 | 3.24 | 1.26.18-r0 | fixed |
| Suse | python-urllib3 | linux enterprise micro 5.3 | 1.25.10-150300.4.9.1 | fixed |
| Suse | python-urllib3 | linux enterprise micro 5.4 | 1.25.10-150300.4.9.1 | fixed |
| Suse | python-urllib3 | linux enterprise micro 5.5 | 1.25.10-150300.4.9.1 | fixed |
| Suse | python-urllib3 | linux enterprise module for basesystem 15 sp4 | 1.25.10-150300.4.9.1 | fixed |
| Suse | python-urllib3 | linux enterprise module for basesystem 15 sp5 | 1.25.10-150300.4.9.1 | fixed |
| Suse | python-urllib3 | manager proxy 4.2 | 1.25.10-150300.4.9.1 | fixed |
| Suse | python-urllib3 | manager server 4.2 | 1.25.10-150300.4.9.1 | fixed |
| Suse | python-urllib3 | linux enterprise micro 5.1 | 1.25.10-150300.4.9.1 | fixed |
| Suse | python-urllib3 | linux enterprise micro 5.2 | 1.25.10-150300.4.9.1 | fixed |
| Opensuse | python-urllib3 | leap micro 5.3 | 1.25.10-150300.4.9.1 | fixed |
| Opensuse | python-urllib3 | leap micro 5.4 | 1.25.10-150300.4.9.1 | fixed |
| Opensuse | python-urllib3 | leap 15.4 | 1.25.10-150300.4.9.1 | fixed |
| Opensuse | python-urllib3 | leap 15.5 | 1.25.10-150300.4.9.1 | fixed |
| Ubuntu | python-pip | pro | 9.0.1-2 | vulnerable |
| Ubuntu | python-pip | pro | 9.0.1-2.3~ubuntu1 | vulnerable |
| Ubuntu | python-pip | pro | 9.0.1-2.3~ubuntu1.18.04.1 | vulnerable |
| Ubuntu | python-pip | pro | 9.0.1-2.3~ubuntu1.18.04.2 | vulnerable |
| Ubuntu | python-pip | pro | 9.0.1-2.3~ubuntu1.18.04.3 | vulnerable |
| Ubuntu | python-pip | pro | 9.0.1-2.3~ubuntu1.18.04.4 | vulnerable |
| Ubuntu | python-pip | pro | 9.0.1-2.3~ubuntu1.18.04.5 | vulnerable |
| Ubuntu | python-pip | pro | 9.0.1-2.3~ubuntu1.18.04.5+esm2 | vulnerable |
| Ubuntu | python-pip | pro | 9.0.1-2.3~ubuntu1.18.04.5+esm3 | vulnerable |
| Ubuntu | python-pip | pro | 9.0.1-2.3~ubuntu1.18.04.6 | vulnerable |
| Ubuntu | python-pip | pro | 9.0.1-2.3~ubuntu1.18.04.6+esm1 | vulnerable |
| Ubuntu | python-pip | pro | 9.0.1-2.3~ubuntu1.18.04.7 | vulnerable |
| Ubuntu | python-pip | pro | 9.0.1-2.3~ubuntu1.18.04.7+esm1 | vulnerable |
| Ubuntu | python-pip | pro | 9.0.1-2.3~ubuntu1.18.04.8 | vulnerable |
| Ubuntu | python-pip | pro | 9.0.1-2.3~ubuntu1.18.04.8+esm1 | vulnerable |
| Ubuntu | python-pip | pro | 9.0.1-2.3~ubuntu1.18.04.8+esm2 | fixed |
| Ubuntu | python-urllib3 | pro | 1.21.1-1 | vulnerable |
| Ubuntu | python-urllib3 | pro | 1.22-1 | vulnerable |
| Ubuntu | python-urllib3 | pro | 1.22-1ubuntu0.18.04.1 | vulnerable |
| Ubuntu | python-urllib3 | pro | 1.22-1ubuntu0.18.04.2 | vulnerable |
| Ubuntu | python-urllib3 | pro | 1.22-1ubuntu0.18.04.2+esm1 | fixed |
| Ubuntu | python-pip | 20.04 | 18.1-5 | vulnerable |
| Ubuntu | python-pip | 20.04 | 18.1-5build1 | vulnerable |
| Ubuntu | python-pip | 20.04 | 18.1-5ubuntu1 | vulnerable |
| Ubuntu | python-pip | 20.04 | 20.0.2-2 | vulnerable |
| Ubuntu | python-pip | 20.04 | 20.0.2-4 | vulnerable |
| Ubuntu | python-pip | 20.04 | 20.0.2-5 | vulnerable |
| Ubuntu | python-pip | 20.04 | 20.0.2-5ubuntu1 | vulnerable |
| Ubuntu | python-pip | 20.04 | 20.0.2-5ubuntu1.1 | vulnerable |
| Ubuntu | python-pip | 20.04 | 20.0.2-5ubuntu1.3 | vulnerable |
| Ubuntu | python-pip | 20.04 | 20.0.2-5ubuntu1.4 | vulnerable |
| Ubuntu | python-pip | 20.04 | 20.0.2-5ubuntu1.5 | vulnerable |
| Ubuntu | python-pip | 20.04 | 20.0.2-5ubuntu1.6 | vulnerable |
| Ubuntu | python-pip | 20.04 | 20.0.2-5ubuntu1.7 | vulnerable |
| Ubuntu | python-pip | 20.04 | 20.0.2-5ubuntu1.8 | vulnerable |
| Ubuntu | python-pip | 20.04 | 20.0.2-5ubuntu1.9 | vulnerable |
| Ubuntu | python-pip | 20.04 | 20.0.2-5ubuntu1.10 | fixed |
| Ubuntu | python-urllib3 | 20.04 | 1.24.1-1ubuntu1 | vulnerable |
| Ubuntu | python-urllib3 | 20.04 | 1.24.1-1ubuntu2 | vulnerable |
| Ubuntu | python-urllib3 | 20.04 | 1.25.8-1 | vulnerable |
| Ubuntu | python-urllib3 | 20.04 | 1.25.8-2 | vulnerable |
| Ubuntu | python-urllib3 | 20.04 | 1.25.8-2ubuntu0.1 | vulnerable |
| Ubuntu | python-urllib3 | 20.04 | 1.25.8-2ubuntu0.2 | vulnerable |
| Ubuntu | python-urllib3 | 20.04 | 1.25.8-2ubuntu0.3 | fixed |
| Ubuntu | python-pip | 22.04 | 20.3.4-4 | vulnerable |
| Ubuntu | python-pip | 22.04 | 21.3.1+dfsg-3 | vulnerable |
| Ubuntu | python-pip | 22.04 | 22.0.2+dfsg-1 | vulnerable |
| Ubuntu | python-pip | 22.04 | 22.0.2+dfsg-1ubuntu0.1 | vulnerable |
| Ubuntu | python-pip | 22.04 | 22.0.2+dfsg-1ubuntu0.2 | vulnerable |
| Ubuntu | python-pip | 22.04 | 22.0.2+dfsg-1ubuntu0.3 | vulnerable |
| Ubuntu | python-pip | 22.04 | 22.0.2+dfsg-1ubuntu0.4 | fixed |
| Ubuntu | python-urllib3 | 22.04 | 1.26.5-1~exp1 | vulnerable |
| Ubuntu | python-urllib3 | 22.04 | 1.26.5-1~exp1ubuntu0.1 | fixed |
| Ubuntu | python-pip | 24.04 | 23.2+dfsg-1 | vulnerable |
| Ubuntu | python-pip | 24.04 | 23.3+dfsg-1 | vulnerable |
| Ubuntu | python-pip | 24.04 | 24.0+dfsg-1 | vulnerable |
| Ubuntu | python-pip | 24.04 | 24.0+dfsg-1ubuntu1 | vulnerable |
| Ubuntu | python-pip | 24.04 | 24.0+dfsg-1ubuntu1.1 | vulnerable |
| Ubuntu | python-pip | 24.04 | 24.0+dfsg-1ubuntu1.2 | vulnerable |
| Ubuntu | python-pip | 24.04 | 24.0+dfsg-1ubuntu1.3 | fixed |
| Opensuse | python-urllib3 | tumbleweed | 2.0.7-1.1 | fixed |
| Suse | python-urllib3 | hpe helion openstack 8 | 1.25.10-5.25.1 | fixed |
| Suse | python-urllib3 | openstack cloud 8 | 1.25.10-5.25.1 | fixed |
| Suse | python-urllib3 | openstack cloud crowbar 8 | 1.25.10-5.25.1 | fixed |
| Suse | python-urllib3 | linux enterprise micro 5.5 | 1.25.10-150300.4.9.1 | fixed |
| Suse | python-urllib3 | linux enterprise module for public cloud 12 | 1.25.10-3.37.1 | fixed |
| Suse | python-urllib3 | linux enterprise software development kit 12 sp5 | 1.25.10-3.37.1 | fixed |
| Suse | python-urllib3 | linux enterprise server 12 sp5 | 1.25.10-3.37.1 | fixed |
| Suse | python-urllib3 | linux enterprise server for sap applications 12 sp5 | 1.25.10-3.37.1 | fixed |
| Suse | python-urllib3 | linux enterprise workstation extension 12 sp5 | 1.25.10-3.37.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | python-urllib3 | source | sid | 1.26.18-1 | not yet assigned | Not reported | [1054226] |
| Debian | python-urllib3 | source | forky | 1.26.18-1 | not yet assigned | Not reported | [1054226] |
| Debian | python-urllib3 | source | trixie | 1.26.18-1 | not yet assigned | Not reported | [1054226] |
| Debian | python-urllib3 | source | bookworm | 1.26.12-1+deb12u1 | not yet assigned | Not reported | [1054226] |
| Ubuntu | python-pip | deb | noble | 24.0+dfsg-1ubuntu1.3 | Not reported | Not reported | Not reported |
| Ubuntu | python3-pip | deb | noble | 24.0+dfsg-1ubuntu1.3 | Not reported | Not reported | Not reported |
| Ubuntu | python3-pip-whl | deb | noble | 24.0+dfsg-1ubuntu1.3 | Not reported | Not reported | Not reported |
| PyPI | urllib3 | PyPI | Not reported | 1.26.18 | Not reported | GHSA-G4MX-Q9VG-27P4 | Not reported |
| PyPI | urllib3 | PyPI | Not reported | 1.26.18 | Not reported | PYSEC-2023-212 | Not reported |
| PyPI | urllib3 | PyPI | Not reported | 4e98d57809dacab1cbe625fddeec1a290c478ea9 | Not reported | PYSEC-2023-212 | Not reported |
| PyPI | urllib3 | PyPI | Not reported | 2.0.7 | Not reported | PYSEC-2023-212 | Not reported |
| Alpine | py3-urllib3 | apk | 3.15 | 1.26.18-r0 | Not reported | ALPINE-CVE-2023-45803 | Not reported |
| Alpine | py3-urllib3 | apk | 3.16 | 1.26.18-r0 | Not reported | ALPINE-CVE-2023-45803 | Not reported |
| Alpine | py3-urllib3 | apk | 3.17 | 1.26.18-r0 | Not reported | ALPINE-CVE-2023-45803 | Not reported |
| Alpine | py3-urllib3 | apk | 3.18 | 1.26.18-r0 | Not reported | ALPINE-CVE-2023-45803 | Not reported |
| Alpine | py3-urllib3 | apk | 3.19 | 1.26.18-r0 | Not reported | ALPINE-CVE-2023-45803 | Not reported |
| Alpine | py3-urllib3 | apk | 3.20 | 1.26.18-r0 | Not reported | ALPINE-CVE-2023-45803 | Not reported |
| Alpine | py3-urllib3 | apk | 3.21 | 1.26.18-r0 | Not reported | ALPINE-CVE-2023-45803 | Not reported |
| Alpine | py3-urllib3 | apk | 3.22 | 1.26.18-r0 | Not reported | ALPINE-CVE-2023-45803 | Not reported |
| Alpine | py3-urllib3 | apk | 3.23 | 1.26.18-r0 | Not reported | ALPINE-CVE-2023-45803 | Not reported |
| Alpine | py3-urllib3 | apk | 3.24 | 1.26.18-r0 | Not reported | ALPINE-CVE-2023-45803 | Not reported |
| Suse | python-urllib3 | rpm | linux enterprise micro 5.3 | 1.25.10-150300.4.9.1 | Not reported | SUSE-SU-2023:4467-1 | Not reported |
| Suse | python-urllib3 | rpm | linux enterprise micro 5.4 | 1.25.10-150300.4.9.1 | Not reported | SUSE-SU-2023:4467-1 | Not reported |
| Suse | python-urllib3 | rpm | linux enterprise micro 5.5 | 1.25.10-150300.4.9.1 | Not reported | SUSE-SU-2023:4467-1 | Not reported |
| Suse | python-urllib3 | rpm | linux enterprise module for basesystem 15 sp4 | 1.25.10-150300.4.9.1 | Not reported | SUSE-SU-2023:4467-1 | Not reported |
| Suse | python-urllib3 | rpm | linux enterprise module for basesystem 15 sp5 | 1.25.10-150300.4.9.1 | Not reported | SUSE-SU-2023:4467-1 | Not reported |
| Suse | python-urllib3 | rpm | manager proxy 4.2 | 1.25.10-150300.4.9.1 | Not reported | SUSE-SU-2023:4467-1 | Not reported |
| Suse | python-urllib3 | rpm | manager server 4.2 | 1.25.10-150300.4.9.1 | Not reported | SUSE-SU-2023:4467-1 | Not reported |
| Suse | python-urllib3 | rpm | linux enterprise micro 5.1 | 1.25.10-150300.4.9.1 | Not reported | SUSE-SU-2023:4467-1 | Not reported |
| Suse | python-urllib3 | rpm | linux enterprise micro 5.2 | 1.25.10-150300.4.9.1 | Not reported | SUSE-SU-2023:4467-1 | Not reported |
| Opensuse | python-urllib3 | rpm | leap micro 5.3 | 1.25.10-150300.4.9.1 | Not reported | SUSE-SU-2023:4467-1 | Not reported |
| Opensuse | python-urllib3 | rpm | leap micro 5.4 | 1.25.10-150300.4.9.1 | Not reported | SUSE-SU-2023:4467-1 | Not reported |
| Opensuse | python-urllib3 | rpm | leap 15.4 | 1.25.10-150300.4.9.1 | Not reported | SUSE-SU-2023:4467-1 | Not reported |
| Opensuse | python-urllib3 | rpm | leap 15.5 | 1.25.10-150300.4.9.1 | Not reported | SUSE-SU-2023:4467-1 | Not reported |
| Ubuntu | python-pip | deb | pro | 9.0.1-2.3~ubuntu1.18.04.8+esm2 | Not reported | UBUNTU-CVE-2023-45803 | Not reported |
| Ubuntu | python-urllib3 | deb | pro | 1.22-1ubuntu0.18.04.2+esm1 | Not reported | UBUNTU-CVE-2023-45803 | Not reported |
| Ubuntu | python-pip | deb | 20.04 | 20.0.2-5ubuntu1.10 | Not reported | UBUNTU-CVE-2023-45803 | Not reported |
| Ubuntu | python-urllib3 | deb | 20.04 | 1.25.8-2ubuntu0.3 | Not reported | UBUNTU-CVE-2023-45803 | Not reported |
| Ubuntu | python-pip | deb | 22.04 | 22.0.2+dfsg-1ubuntu0.4 | Not reported | UBUNTU-CVE-2023-45803 | Not reported |
| Ubuntu | python-urllib3 | deb | 22.04 | 1.26.5-1~exp1ubuntu0.1 | Not reported | UBUNTU-CVE-2023-45803 | Not reported |
| Ubuntu | python-pip | deb | 24.04 | 24.0+dfsg-1ubuntu1.3 | Not reported | UBUNTU-CVE-2023-45803 | Not reported |
| Opensuse | python-urllib3 | rpm | tumbleweed | 2.0.7-1.1 | Not reported | OPENSUSE-SU-2024:13343-1 | Not reported |
| Suse | python-urllib3 | rpm | hpe helion openstack 8 | 1.25.10-5.25.1 | Not reported | SUSE-SU-2023:4356-1 | Not reported |
| Suse | python-urllib3 | rpm | openstack cloud 8 | 1.25.10-5.25.1 | Not reported | SUSE-SU-2023:4356-1 | Not reported |
| Suse | python-urllib3 | rpm | openstack cloud crowbar 8 | 1.25.10-5.25.1 | Not reported | SUSE-SU-2023:4356-1 | Not reported |
| Suse | python-urllib3 | rpm | linux enterprise micro 5.5 | 1.25.10-150300.4.9.1 | Not reported | SUSE-SU-2024:2462-1 | Not reported |
| Suse | python-urllib3 | rpm | linux enterprise module for public cloud 12 | 1.25.10-3.37.1 | Not reported | SUSE-SU-2023:4468-1 | Not reported |
| Suse | python-urllib3 | rpm | linux enterprise software development kit 12 sp5 | 1.25.10-3.37.1 | Not reported | SUSE-SU-2023:4468-1 | Not reported |
| Suse | python-urllib3 | rpm | linux enterprise server 12 sp5 | 1.25.10-3.37.1 | Not reported | SUSE-SU-2023:4468-1 | Not reported |
| Suse | python-urllib3 | rpm | linux enterprise server for sap applications 12 sp5 | 1.25.10-3.37.1 | Not reported | SUSE-SU-2023:4468-1 | Not reported |
| Suse | python-urllib3 | rpm | linux enterprise workstation extension 12 sp5 | 1.25.10-3.37.1 | Not reported | SUSE-SU-2023:4468-1 | Not reported |
OpenFactory catalog packages
Matching against OpenFactory catalog package versions is in progress.
References
- [https://ftp.suse.com/pub/projects/security/csaf/rhsa-2024_0116.json]
- [https://osv.dev/vulnerability/ALPINE-CVE-2023-45803]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2023-45803]
- [https://osv.dev/vulnerability/DLA-3649-1]
- [https://osv.dev/vulnerability/PYSEC-2023-212]
- [https://osv.dev/vulnerability/SUSE-SU-2023:4356-1]
- [https://osv.dev/vulnerability/SUSE-SU-2023:4467-1]
- [https://osv.dev/vulnerability/SUSE-SU-2023:4468-1]
- [https://osv.dev/vulnerability/SUSE-SU-2024:2462-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2023-45803]
- [https://osv.dev/vulnerability/openSUSE-SU-2024:13343-1]
- [https://security-tracker.debian.org/tracker/CVE-2023-45803]
- [https://security.access.redhat.com/data/csaf/v2/vex/2023/cve-2023-45803.json]
- [https://ubuntu.com/security/notices/USN-7762-1]
- [https://wid.cert-bund.de/.well-known/csaf/white/2024/wid-sec-w-2024-1228.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX] · [Ubuntu Security Notices (USN)]