{"api_version":"1","generated_at":"2026-04-19T08:17:36+00:00","cve":"CVE-2023-45803","urls":{"html":"https://cve.report/CVE-2023-45803","api":"https://cve.report/api/cve/CVE-2023-45803.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2023-45803","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2023-45803"},"summary":{"title":"CVE-2023-45803","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.","state":"PUBLIC","assigner":"security-advisories@github.com","published_at":"2023-10-17 20:15:00","updated_at":"2023-11-03 22:15:00"},"problem_types":["CWE-200"],"metrics":[],"references":[{"url":"https://www.rfc-editor.org/rfc/rfc9110.html#name-get","name":"https://www.rfc-editor.org/rfc/rfc9110.html#name-get","refsource":"MISC","tags":[],"title":"RFC 9110: HTTP Semantics","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/urllib3/urllib3/security/advisories/GHSA-g4mx-q9vg-27p4","name":"https://github.com/urllib3/urllib3/security/advisories/GHSA-g4mx-q9vg-27p4","refsource":"MISC","tags":[],"title":"Request body not stripped after redirect from 303 status changes request method to GET · Advisory · urllib3/urllib3 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4R2Y5XK3WALSR3FNAGN7JBYV2B343ZKB/","name":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4R2Y5XK3WALSR3FNAGN7JBYV2B343ZKB/","refsource":"MISC","tags":[],"title":"[SECURITY] Fedora 37 Update: python-urllib3-1.26.18-1.fc37 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/5F5CUBAN5XMEBVBZPHFITBLMJV5FIJJ5/","name":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/5F5CUBAN5XMEBVBZPHFITBLMJV5FIJJ5/","refsource":"MISC","tags":[],"title":"[SECURITY] Fedora 39 Update: python-urllib3-1.26.18-1.fc39 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/urllib3/urllib3/commit/4e98d57809dacab1cbe625fddeec1a290c478ea9","name":"https://github.com/urllib3/urllib3/commit/4e98d57809dacab1cbe625fddeec1a290c478ea9","refsource":"MISC","tags":[],"title":"Bring 2.0.7 & 1.26.18 to main (#3161) · urllib3/urllib3@4e98d57 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PPDPLM6UUMN55ESPQWJFLLIZY4ZKCNRX/","name":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PPDPLM6UUMN55ESPQWJFLLIZY4ZKCNRX/","refsource":"MISC","tags":[],"title":"[SECURITY] Fedora 38 Update: python-urllib3-1.26.18-1.fc38 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-45803","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-45803","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2023","cve_id":"45803","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"fedoraproject","cpe5":"fedora","cpe6":"38","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2023","cve_id":"45803","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"python","cpe5":"urllib3","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2023-45803","qid":"161270","title":"Oracle Enterprise Linux Security Update for python-urllib3 (ELSA-2024-0116)"},{"cve":"CVE-2023-45803","qid":"161310","title":"Oracle Enterprise Linux Security Update for python-urllib3 (ELSA-2024-0464)"},{"cve":"CVE-2023-45803","qid":"199896","title":"Ubuntu Security Notification for pip Vulnerabilities (USN-6473-2)"},{"cve":"CVE-2023-45803","qid":"199914","title":"Ubuntu Security Notification for urllib3 Vulnerabilities (USN-6473-1)"},{"cve":"CVE-2023-45803","qid":"242625","title":"Red Hat Update for Satellite 6.14.1 (RHSA-2023:7851)"},{"cve":"CVE-2023-45803","qid":"242724","title":"Red Hat Update for python-urllib3 (RHSA-2024:0300)"},{"cve":"CVE-2023-45803","qid":"242776","title":"Red Hat Update for python-urllib3 (RHSA-2024:0588)"},{"cve":"CVE-2023-45803","qid":"242838","title":"Red Hat Update for python-urllib3 (RHSA-2024:0464)"},{"cve":"CVE-2023-45803","qid":"242884","title":"Red Hat Update for python-urllib3 (RHSA-2024:0116)"},{"cve":"CVE-2023-45803","qid":"243019","title":"Red Hat Update for fence-agents (RHSA-2024:1155)"},{"cve":"CVE-2023-45803","qid":"284644","title":"Fedora Security Update for python (FEDORA-2023-932b0c86f4)"},{"cve":"CVE-2023-45803","qid":"284703","title":"Fedora Security Update for python (FEDORA-2023-dede912109)"},{"cve":"CVE-2023-45803","qid":"285185","title":"Fedora Security Update for python (FEDORA-2023-18f03a150d)"},{"cve":"CVE-2023-45803","qid":"296106","title":"Oracle Solaris 11.4 Support Repository Update (SRU) 64.157.2 Missing (CPUOCT2023)"},{"cve":"CVE-2023-45803","qid":"503396","title":"Alpine Linux Security Update for py3-urllib3"},{"cve":"CVE-2023-45803","qid":"505925","title":"Alpine Linux Security Update for py3-urllib3"},{"cve":"CVE-2023-45803","qid":"6000284","title":"Debian Security Update for python-urllib3 (DLA 3649-1)"},{"cve":"CVE-2023-45803","qid":"673363","title":"EulerOS Security Update for python-urllib3 (EulerOS-SA-2024-1185)"},{"cve":"CVE-2023-45803","qid":"673581","title":"EulerOS Security Update for python-urllib3 (EulerOS-SA-2024-1096)"},{"cve":"CVE-2023-45803","qid":"673728","title":"EulerOS Security Update for python-urllib3 (EulerOS-SA-2024-1205)"},{"cve":"CVE-2023-45803","qid":"673753","title":"EulerOS Security Update for python-urllib3 (EulerOS-SA-2024-1296)"},{"cve":"CVE-2023-45803","qid":"673932","title":"EulerOS Security Update for python-urllib3 (EulerOS-SA-2023-3257)"},{"cve":"CVE-2023-45803","qid":"673939","title":"EulerOS Security Update for python-urllib3 (EulerOS-SA-2024-1072)"},{"cve":"CVE-2023-45803","qid":"674016","title":"EulerOS Security Update for python-urllib3 (EulerOS-SA-2023-3285)"},{"cve":"CVE-2023-45803","qid":"755276","title":"SUSE Enterprise Linux Security Update for python-urllib3 (SUSE-SU-2023:4468-1)"},{"cve":"CVE-2023-45803","qid":"755277","title":"SUSE Enterprise Linux Security Update for python-urllib3 (SUSE-SU-2023:4467-1)"},{"cve":"CVE-2023-45803","qid":"907597","title":"Common Base Linux Mariner (CBL-Mariner) Security Update for python-urllib3 (31615-1)"},{"cve":"CVE-2023-45803","qid":"941542","title":"AlmaLinux Security Update for python-urllib3 (ALSA-2024:0116)"},{"cve":"CVE-2023-45803","qid":"941555","title":"AlmaLinux Security Update for python-urllib3 (ALSA-2024:0464)"},{"cve":"CVE-2023-45803","qid":"995614","title":"Python (Pip) Security Update for urllib3 (GHSA-g4mx-q9vg-27p4)"}]},"source_records":{"cve_program":{"data_version":"4.0","data_type":"CVE","data_format":"MITRE","CVE_data_meta":{"ID":"CVE-2023-45803","ASSIGNER":"security-advisories@github.com","STATE":"PUBLIC"},"description":{"description_data":[{"lang":"eng","value":"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.\n"}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-200: Exposure of Sensitive Information to an Unauthorized Actor","cweId":"CWE-200"}]}]},"affects":{"vendor":{"vendor_data":[{"vendor_name":"urllib3","product":{"product_data":[{"product_name":"urllib3","version":{"version_data":[{"version_affected":"=","version_value":">= 2.0.0, < 2.0.7"},{"version_affected":"=","version_value":"< 1.26.18"}]}}]}}]}},"references":{"reference_data":[{"url":"https://github.com/urllib3/urllib3/security/advisories/GHSA-g4mx-q9vg-27p4","refsource":"MISC","name":"https://github.com/urllib3/urllib3/security/advisories/GHSA-g4mx-q9vg-27p4"},{"url":"https://github.com/urllib3/urllib3/commit/4e98d57809dacab1cbe625fddeec1a290c478ea9","refsource":"MISC","name":"https://github.com/urllib3/urllib3/commit/4e98d57809dacab1cbe625fddeec1a290c478ea9"},{"url":"https://www.rfc-editor.org/rfc/rfc9110.html#name-get","refsource":"MISC","name":"https://www.rfc-editor.org/rfc/rfc9110.html#name-get"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PPDPLM6UUMN55ESPQWJFLLIZY4ZKCNRX/","refsource":"MISC","name":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PPDPLM6UUMN55ESPQWJFLLIZY4ZKCNRX/"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4R2Y5XK3WALSR3FNAGN7JBYV2B343ZKB/","refsource":"MISC","name":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4R2Y5XK3WALSR3FNAGN7JBYV2B343ZKB/"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/5F5CUBAN5XMEBVBZPHFITBLMJV5FIJJ5/","refsource":"MISC","name":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/5F5CUBAN5XMEBVBZPHFITBLMJV5FIJJ5/"}]},"source":{"advisory":"GHSA-g4mx-q9vg-27p4","discovery":"UNKNOWN"},"impact":{"cvss":[{"attackComplexity":"HIGH","attackVector":"ADJACENT_NETWORK","availabilityImpact":"NONE","baseScore":4.2,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"NONE","privilegesRequired":"HIGH","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:A/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N","version":"3.1"}]}},"nvd":{"publishedDate":"2023-10-17 20:15:00","lastModifiedDate":"2023-11-03 22:15:00","problem_types":["CWE-200"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:A/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N","attackVector":"ADJACENT_NETWORK","attackComplexity":"HIGH","privilegesRequired":"HIGH","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"NONE","availabilityImpact":"NONE","baseScore":4.2,"baseSeverity":"MEDIUM"},"exploitabilityScore":0.5,"impactScore":3.6}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:python:urllib3:*:*:*:*:*:*:*:*","versionStartIncluding":"2.0.0","versionEndExcluding":"2.0.7","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:python:urllib3:*:*:*:*:*:*:*:*","versionEndExcluding":"1.26.18","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}