CVE-2023-45803

MediumCVSS 4.2/10Last modified Jun 17, 2026

Description

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.

Metrics

CVSS 3.1 4.2/10CVSS:3.1/AV:A/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N

Weakness enumeration

Affected software

No affected versions have been published.

Timeline

Published
Oct 17, 2023
Last modified
Jun 17, 2026
NVD status
Modified

Related CVEs from 2023

CVE-2023-458057.8pdm is a Python package and dependency manager supporting the latest PEP standards. It's possible to craft a malicious `pdm.lock` file that CVE-2023-458065.4Discourse is an open source platform for community discussion. Prior to version 3.1.3 of the `stable` branch and version 3.2.0.beta3 of the CVE-2023-458075.4OpenSearch is a community-driven, open source fork of Elasticsearch and Kibana following the license change in early 2021. There is an issueCVE-2023-458085.4iTop is an IT service management platform. When creating or updating an object, extkey values aren't checked to be in the current user siloCVE-2023-458092.7Wagtail is an open source content management system built on Django. A user with a limited-permission editor account for the Wagtail admin cCVE-2023-45814.3Excel `.xll` add-in files did not have a blocklist entry in Firefox's executable blocklist which allowed them to be downloaded without any wCVE-2023-458107.5OpenFGA is a flexible authorization/permission engine built for developers and inspired by Google Zanzibar. Affected versions of OpenFGA areCVE-2023-458117.8Synchrony deobfuscator is a javascript cleaner & deobfuscator. A `__proto__` pollution vulnerability exists in versions before v2.4.4. SuccCVE-2023-458127.5The Apollo Router is a configurable, high-performance graph router written in Rust to run a federated supergraph that uses Apollo FederationCVE-2023-458137.5Torbot is an open source tor network intelligence tool. In affected versions the `torbot.modules.validators.validate_link function` uses theCVE-2023-458145.3Bunkum is an open-source protocol-agnostic request server for custom game servers. First, a little bit of background. So, in the beginning, CVE-2023-458155.4ArchiveBox is an open source self-hosted web archiving system. Any users who are using the `wget` extractor and view the content it outputs.
CVE-2023-45803: Medium severity, CVSS 4.2 | Vulnix