{"answers":{"affected":"5 open source packages ship an affected version, including urllib3. It affects 2 products.","exploited":"There is no known exploitation of CVE-2023-45803 in the wild and no public exploit code.","fix":"Upgrade urllib3 to a fixed version for your release line: 1.26.18 or 2.0.7.","what":"CVE-2023-45803 is a medium-severity vulnerability in Fedoraproject Fedora, published on 17 Oct 2023. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-45803 and fix it if it is affected.\n\nWhat it is: CVE-2023-45803 is a medium-severity vulnerability in Fedoraproject Fedora, published on 17 Oct 2023. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2023-45803 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- urllib3 (PyPI): affected all versions; fixed in 1.26.18\n- urllib3 (PyPI): affected all versions; fixed in 1.26.18\n- urllib3 (PyPI): affected from 2.0.0; fixed in 2.0.7, 1.26.18\n- urllib3 (PyPI): affected from 2.0.0; fixed in 2.0.7\n- urllib3 (PyPI): affected from 2.0.0; fixed in 2.0.7\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2023-45803/ (Markdown: https://insights.sbomify.com/CVE-2023-45803/index.md)","id":"CVE-2023-45803","markdown":"https://insights.sbomify.com/CVE-2023-45803/index.md","name":"CVE-2023-45803","record":{"aliases":["ALPINE-CVE-2023-45803","ALSA-2024:11189","ALSA-2024:11238","AZL-31615","AZL-35445","AZL-35785","AZL-59705","BELL-CVE-2023-45803","CLEANSTART-2026-VT55375","CLEANSTART-2026-YT82124","CLSA-2025-1760659967","DEBIAN-CVE-2023-45803","DLA-3649-1","GHSA-g4mx-q9vg-27p4","MINI-5rjr-hqv9-7279","MINI-p63p-h2mx-9fj5","OESA-2023-1840","PYSEC-2023-212","RHBA-2024:1420","RHSA-2024:11189","RHSA-2024:11238","RHSA-2024:2734","RHSA-2025:0078","RHSA-2025:1793","RHSA-2025:1813","RLSA-2024:11189","RLSA-2024:11238","ROOT-APP-PYPI-CVE-2023-45803","SUSE-SU-2023:4356-1","SUSE-SU-2023:4467-1","SUSE-SU-2023:4468-1","SUSE-SU-2024:2462-1","UBUNTU-CVE-2023-45803","openSUSE-SU-2024:13343-1","openSUSE-SU-2024:13344-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Python HTTP client library","requires_auth":"high_privilege","summary":"Attackers can read sensitive request body data if a trusted service is compromised and redirects POST requests to GET without stripping the body.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"fedora","vendor":"fedoraproject"},{"product":"urllib3","vendor":"python"}],"cvss":{"score":4.2,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:A/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"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.","ecosystems":["AlmaLinux:8","AlmaLinux:9","PyPI","Red Hat:enterprise_linux:8::appstream","Red Hat:enterprise_linux:9::appstream","Red Hat:openstack:17.1::el8","Red Hat:rhel_eus:8.8::appstream","Red Hat:rhel_eus:8.8::highavailability","Red Hat:rhel_eus:8.8::resilientstorage","Red Hat:rhel_eus:9.2::appstream","Red Hat:rhel_eus:9.4::appstream","Rocky Linux:8","Rocky Linux:9","SUSE:HPE Helion OpenStack 8","SUSE:Linux Enterprise Micro 5.1","SUSE:Linux Enterprise Micro 5.2","SUSE:Linux Enterprise Micro 5.3","SUSE:Linux Enterprise Micro 5.4","SUSE:Linux Enterprise Micro 5.5","SUSE:Linux Enterprise Module for Basesystem 15 SP4","SUSE:Linux Enterprise Module for Basesystem 15 SP5","SUSE:Linux Enterprise Module for Public Cloud 12","SUSE:Linux Enterprise Server 12 SP5","SUSE:Linux Enterprise Server for SAP Applications 12 SP5","SUSE:Linux Enterprise Software Development Kit 12 SP5","SUSE:Linux Enterprise Workstation Extension 12 SP5","SUSE:Manager Proxy 4.2","SUSE:Manager Server 4.2","SUSE:OpenStack Cloud 8","SUSE:OpenStack Cloud Crowbar 8","openSUSE:Leap 15.4","openSUSE:Leap 15.5","openSUSE:Leap Micro 5.3","openSUSE:Leap Micro 5.4","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Request body not stripped after redirect in urllib3","id":"CVE-2023-45803","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":"fedoraproject:fedora","products":["fedoraproject:fedora"],"type":"information_disclosure","year":"2023"},"n_packages":53,"n_references":6,"next":{"headline":"User requested a CVE number by mistake","id":"CVE-2023-45804"},"packages":[{"ecosystem":"PyPI","fixed":["1.26.18"],"introduced":["0"],"last_affected":[],"package":"urllib3","purl":null,"source":"GHSA-g4mx-q9vg-27p4"},{"ecosystem":"PyPI","fixed":["1.26.18"],"introduced":["0"],"last_affected":[],"package":"urllib3","purl":"pkg:pypi/urllib3","source":"GHSA-g4mx-q9vg-27p4"},{"ecosystem":"PyPI","fixed":["2.0.7","1.26.18"],"introduced":["2.0.0","0"],"last_affected":[],"package":"urllib3","purl":"pkg:pypi/urllib3","source":"PYSEC-2023-212"},{"ecosystem":"PyPI","fixed":["2.0.7"],"introduced":["2.0.0"],"last_affected":[],"package":"urllib3","purl":null,"source":"GHSA-g4mx-q9vg-27p4"},{"ecosystem":"PyPI","fixed":["2.0.7"],"introduced":["2.0.0"],"last_affected":[],"package":"urllib3","purl":"pkg:pypi/urllib3","source":"GHSA-g4mx-q9vg-27p4"},{"ecosystem":"AlmaLinux:8","fixed":["1.26.12-5.el8_10"],"introduced":["0"],"last_affected":[],"package":"python3.11-urllib3","purl":"pkg:rpm/almalinux/python3.11-urllib3","source":"ALSA-2024:11189"},{"ecosystem":"AlmaLinux:9","fixed":["1.26.12-2.el9_5.2"],"introduced":["0"],"last_affected":[],"package":"python3.11-urllib3","purl":"pkg:rpm/almalinux/python3.11-urllib3","source":"ALSA-2024:11238"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.26.12-5.el8_10"],"introduced":["0"],"last_affected":[],"package":"python3.11-urllib3","purl":"pkg:rpm/redhat/python3.11-urllib3","source":"RHSA-2024:11189"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:1.26.12-2.el9_5.2"],"introduced":["0"],"last_affected":[],"package":"python3.11-urllib3","purl":"pkg:rpm/redhat/python3.11-urllib3","source":"RHSA-2024:11238"},{"ecosystem":"Red Hat:openstack:17.1::el8","fixed":["0:1.25.10-6.el8ost"],"introduced":["0"],"last_affected":[],"package":"python-urllib3","purl":"pkg:rpm/redhat/python-urllib3","source":"RHSA-2024:2734"},{"ecosystem":"Red Hat:openstack:17.1::el8","fixed":["0:1.25.10-6.el8ost"],"introduced":["0"],"last_affected":[],"package":"python3-urllib3","purl":"pkg:rpm/redhat/python3-urllib3","source":"RHSA-2024:2734"},{"ecosystem":"Red Hat:rhel_eus:8.8::appstream","fixed":["0:1.26.12-1.el8_8.2"],"introduced":["0"],"last_affected":[],"package":"python3.11-urllib3","purl":"pkg:rpm/redhat/python3.11-urllib3","source":"RHSA-2025:0078"},{"ecosystem":"Red Hat:rhel_eus:8.8::highavailability","fixed":["0:4.9.0-40.el8_8.2"],"introduced":["0"],"last_affected":[],"package":"resource-agents","purl":"pkg:rpm/redhat/resource-agents","source":"RHBA-2024:1420"},{"ecosystem":"Red Hat:rhel_eus:8.8::highavailability","fixed":["0:4.9.0-40.el8_8.2"],"introduced":["0"],"last_affected":[],"package":"resource-agents-aliyun","purl":"pkg:rpm/redhat/resource-agents-aliyun","source":"RHBA-2024:1420"},{"ecosystem":"Red Hat:rhel_eus:8.8::highavailability","fixed":["0:4.9.0-40.el8_8.2"],"introduced":["0"],"last_affected":[],"package":"resource-agents-aliyun-debuginfo","purl":"pkg:rpm/redhat/resource-agents-aliyun-debuginfo","source":"RHBA-2024:1420"},{"ecosystem":"Red Hat:rhel_eus:8.8::highavailability","fixed":["0:4.9.0-40.el8_8.2"],"introduced":["0"],"last_affected":[],"package":"resource-agents-debuginfo","purl":"pkg:rpm/redhat/resource-agents-debuginfo","source":"RHBA-2024:1420"},{"ecosystem":"Red Hat:rhel_eus:8.8::highavailability","fixed":["0:4.9.0-40.el8_8.2"],"introduced":["0"],"last_affected":[],"package":"resource-agents-debugsource","purl":"pkg:rpm/redhat/resource-agents-debugsource","source":"RHBA-2024:1420"},{"ecosystem":"Red Hat:rhel_eus:8.8::highavailability","fixed":["0:4.9.0-40.el8_8.2"],"introduced":["0"],"last_affected":[],"package":"resource-agents-gcp","purl":"pkg:rpm/redhat/resource-agents-gcp","source":"RHBA-2024:1420"},{"ecosystem":"Red Hat:rhel_eus:8.8::highavailability","fixed":["0:4.9.0-40.el8_8.2"],"introduced":["0"],"last_affected":[],"package":"resource-agents-paf","purl":"pkg:rpm/redhat/resource-agents-paf","source":"RHBA-2024:1420"},{"ecosystem":"Red Hat:rhel_eus:8.8::resilientstorage","fixed":["0:4.9.0-40.el8_8.2"],"introduced":["0"],"last_affected":[],"package":"resource-agents","purl":"pkg:rpm/redhat/resource-agents","source":"RHBA-2024:1420"},{"ecosystem":"Red Hat:rhel_eus:8.8::resilientstorage","fixed":["0:4.9.0-40.el8_8.2"],"introduced":["0"],"last_affected":[],"package":"resource-agents-aliyun","purl":"pkg:rpm/redhat/resource-agents-aliyun","source":"RHBA-2024:1420"},{"ecosystem":"Red Hat:rhel_eus:8.8::resilientstorage","fixed":["0:4.9.0-40.el8_8.2"],"introduced":["0"],"last_affected":[],"package":"resource-agents-aliyun-debuginfo","purl":"pkg:rpm/redhat/resource-agents-aliyun-debuginfo","source":"RHBA-2024:1420"},{"ecosystem":"Red Hat:rhel_eus:8.8::resilientstorage","fixed":["0:4.9.0-40.el8_8.2"],"introduced":["0"],"last_affected":[],"package":"resource-agents-debuginfo","purl":"pkg:rpm/redhat/resource-agents-debuginfo","source":"RHBA-2024:1420"},{"ecosystem":"Red Hat:rhel_eus:8.8::resilientstorage","fixed":["0:4.9.0-40.el8_8.2"],"introduced":["0"],"last_affected":[],"package":"resource-agents-debugsource","purl":"pkg:rpm/redhat/resource-agents-debugsource","source":"RHBA-2024:1420"},{"ecosystem":"Red Hat:rhel_eus:8.8::resilientstorage","fixed":["0:4.9.0-40.el8_8.2"],"introduced":["0"],"last_affected":[],"package":"resource-agents-gcp","purl":"pkg:rpm/redhat/resource-agents-gcp","source":"RHBA-2024:1420"},{"ecosystem":"Red Hat:rhel_eus:8.8::resilientstorage","fixed":["0:4.9.0-40.el8_8.2"],"introduced":["0"],"last_affected":[],"package":"resource-agents-paf","purl":"pkg:rpm/redhat/resource-agents-paf","source":"RHBA-2024:1420"},{"ecosystem":"Red Hat:rhel_eus:9.2::appstream","fixed":["0:1.26.12-1.el9_2.1"],"introduced":["0"],"last_affected":[],"package":"python3.11-urllib3","purl":"pkg:rpm/redhat/python3.11-urllib3","source":"RHSA-2025:1813"},{"ecosystem":"Red Hat:rhel_eus:9.4::appstream","fixed":["0:1.26.12-2.el9_4.2"],"introduced":["0"],"last_affected":[],"package":"python3.11-urllib3","purl":"pkg:rpm/redhat/python3.11-urllib3","source":"RHSA-2025:1793"},{"ecosystem":"Rocky Linux:8","fixed":["0:1.26.12-5.el8_10"],"introduced":["0"],"last_affected":[],"package":"python3.11-urllib3","purl":"pkg:rpm/rocky-linux/python3.11-urllib3?distro=rocky-linux-8-x86-64\u0026epoch=0","source":"RLSA-2024:11189"},{"ecosystem":"Rocky Linux:9","fixed":["0:1.26.12-2.el9_5.2"],"introduced":["0"],"last_affected":[],"package":"python3.11-urllib3","purl":"pkg:rpm/rocky-linux/python3.11-urllib3?distro=rocky-linux-9-x86-64\u0026epoch=0","source":"RLSA-2024:11238"},{"ecosystem":"SUSE:HPE Helion OpenStack 8","fixed":["1.25.10-5.25.1"],"introduced":["0"],"last_affected":[],"package":"python-urllib3","purl":"pkg:rpm/suse/python-urllib3\u0026distro=HPE%20Helion%20OpenStack%208","source":"SUSE-SU-2023:4356-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.1","fixed":["1.25.10-150300.4.9.1"],"introduced":["0"],"last_affected":[],"package":"python-urllib3","purl":"pkg:rpm/suse/python-urllib3\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.1","source":"SUSE-SU-2023:4467-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.2","fixed":["1.25.10-150300.4.9.1"],"introduced":["0"],"last_affected":[],"package":"python-urllib3","purl":"pkg:rpm/suse/python-urllib3\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.2","source":"SUSE-SU-2023:4467-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.3","fixed":["1.25.10-150300.4.9.1"],"introduced":["0"],"last_affected":[],"package":"python-urllib3","purl":"pkg:rpm/suse/python-urllib3\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.3","source":"SUSE-SU-2023:4467-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.4","fixed":["1.25.10-150300.4.9.1"],"introduced":["0"],"last_affected":[],"package":"python-urllib3","purl":"pkg:rpm/suse/python-urllib3\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.4","source":"SUSE-SU-2023:4467-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.5","fixed":["1.25.10-150300.4.9.1"],"introduced":["0"],"last_affected":[],"package":"python-urllib3","purl":"pkg:rpm/suse/python-urllib3\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.5","source":"SUSE-SU-2023:4467-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.5","fixed":["1.25.10-150300.4.9.1"],"introduced":["0"],"last_affected":[],"package":"python-urllib3","purl":"pkg:rpm/suse/python-urllib3\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.5","source":"SUSE-SU-2024:2462-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP4","fixed":["1.25.10-150300.4.9.1"],"introduced":["0"],"last_affected":[],"package":"python-urllib3","purl":"pkg:rpm/suse/python-urllib3\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP4","source":"SUSE-SU-2023:4467-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP5","fixed":["1.25.10-150300.4.9.1"],"introduced":["0"],"last_affected":[],"package":"python-urllib3","purl":"pkg:rpm/suse/python-urllib3\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP5","source":"SUSE-SU-2023:4467-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Public Cloud 12","fixed":["1.25.10-3.37.1"],"introduced":["0"],"last_affected":[],"package":"python-urllib3","purl":"pkg:rpm/suse/python-urllib3\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Public%20Cloud%2012","source":"SUSE-SU-2023:4468-1"}],"prev":{"headline":"Apache HTTP Server: HTTP/2 stream memory not reclaimed right away on RST","id":"CVE-2023-45802"},"products":["urllib3"],"published":"2023-10-17","related":[{"cvss_score":9.8,"headline":"PHP-CGI OS Command Injection","id":"CVE-2024-4577","kev_date_added":"2024-06-12","published":"2024-06-09"},{"cvss_score":9.8,"headline":"Grafana Authentication Bypass","id":"CVE-2021-39226","kev_date_added":"2022-08-25","published":"2021-10-05"},{"cvss_score":9.8,"headline":"VMware ESXi and Horizon DaaS OpenSLP Heap-Based Buffer Overflow","id":"CVE-2019-5544","kev_date_added":"2021-11-03","published":"2019-12-06"},{"cvss_score":9.6,"headline":"Google Chromium V8 Type Confusion","id":"CVE-2024-4947","kev_date_added":"2024-05-20","published":"2024-05-15"},{"cvss_score":9.6,"headline":"Google Chromium Visuals Use-After-Free","id":"CVE-2024-4671","kev_date_added":"2024-05-13","published":"2024-05-09"},{"cvss_score":9.6,"headline":"Google Chromium Mojo Insufficient Data Validation","id":"CVE-2022-3075","kev_date_added":"2022-09-08","published":"2022-09-26"},{"cvss_score":9.6,"headline":"Google Chromium Indexed DB API Use-After-Free","id":"CVE-2021-30633","kev_date_added":"2021-11-03","published":"2021-10-08"}],"sources":[{"class":"attribution","licence":"MIT","name":"AlmaLinux","prefix":"ALSA"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHBA"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"BSD","name":"Rocky Linux","prefix":"RLSA"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-11-03","vendors":["urllib3"]},"summary":"Attackers can read sensitive request body data if a trusted service is compromised and redirects POST requests to GET without stripping the body.","url":"https://insights.sbomify.com/CVE-2023-45803/"}