CVE-2023-45803

Summary

CVECVE-2023-45803
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2023-10-17 20:15:00 UTC
Updated2023-11-03 22:15:00 UTC
Descriptionurllib3 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.

Risk And Classification

Problem Types: CWE-200

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Fedoraproject Fedora 38 All All All
Application Python Urllib3 All All All All

References

ReferenceSourceLinkTags
RFC 9110: HTTP Semantics MISC www.rfc-editor.org
Request body not stripped after redirect from 303 status changes request method to GET · Advisory · urllib3/urllib3 · GitHub MISC github.com
[SECURITY] Fedora 37 Update: python-urllib3-1.26.18-1.fc37 - package-announce - Fedora Mailing-Lists MISC lists.fedoraproject.org
[SECURITY] Fedora 39 Update: python-urllib3-1.26.18-1.fc39 - package-announce - Fedora Mailing-Lists MISC lists.fedoraproject.org
Bring 2.0.7 & 1.26.18 to main (#3161) · urllib3/urllib3@4e98d57 · GitHub MISC github.com
[SECURITY] Fedora 38 Update: python-urllib3-1.26.18-1.fc38 - package-announce - Fedora Mailing-Lists MISC lists.fedoraproject.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 161270 Oracle Enterprise Linux Security Update for python-urllib3 (ELSA-2024-0116)
  • 161310 Oracle Enterprise Linux Security Update for python-urllib3 (ELSA-2024-0464)
  • 199896 Ubuntu Security Notification for pip Vulnerabilities (USN-6473-2)
  • 199914 Ubuntu Security Notification for urllib3 Vulnerabilities (USN-6473-1)
  • 242625 Red Hat Update for Satellite 6.14.1 (RHSA-2023:7851)
  • 242724 Red Hat Update for python-urllib3 (RHSA-2024:0300)
  • 242776 Red Hat Update for python-urllib3 (RHSA-2024:0588)
  • 242838 Red Hat Update for python-urllib3 (RHSA-2024:0464)
  • 242884 Red Hat Update for python-urllib3 (RHSA-2024:0116)
  • 243019 Red Hat Update for fence-agents (RHSA-2024:1155)
  • 284644 Fedora Security Update for python (FEDORA-2023-932b0c86f4)
  • 284703 Fedora Security Update for python (FEDORA-2023-dede912109)
  • 285185 Fedora Security Update for python (FEDORA-2023-18f03a150d)
  • 296106 Oracle Solaris 11.4 Support Repository Update (SRU) 64.157.2 Missing (CPUOCT2023)
  • 503396 Alpine Linux Security Update for py3-urllib3
  • 505925 Alpine Linux Security Update for py3-urllib3
  • 6000284 Debian Security Update for python-urllib3 (DLA 3649-1)
  • 673363 EulerOS Security Update for python-urllib3 (EulerOS-SA-2024-1185)
  • 673581 EulerOS Security Update for python-urllib3 (EulerOS-SA-2024-1096)
  • 673728 EulerOS Security Update for python-urllib3 (EulerOS-SA-2024-1205)
  • 673753 EulerOS Security Update for python-urllib3 (EulerOS-SA-2024-1296)
  • 673932 EulerOS Security Update for python-urllib3 (EulerOS-SA-2023-3257)
  • 673939 EulerOS Security Update for python-urllib3 (EulerOS-SA-2024-1072)
  • 674016 EulerOS Security Update for python-urllib3 (EulerOS-SA-2023-3285)
  • 755276 SUSE Enterprise Linux Security Update for python-urllib3 (SUSE-SU-2023:4468-1)
  • 755277 SUSE Enterprise Linux Security Update for python-urllib3 (SUSE-SU-2023:4467-1)
  • 907597 Common Base Linux Mariner (CBL-Mariner) Security Update for python-urllib3 (31615-1)
  • 941542 AlmaLinux Security Update for python-urllib3 (ALSA-2024:0116)
  • 941555 AlmaLinux Security Update for python-urllib3 (ALSA-2024:0464)
  • 995614 Python (Pip) Security Update for urllib3 (GHSA-g4mx-q9vg-27p4)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report