{"answers":{"affected":"3 open source packages ship an affected version, including urllib3. It affects 1 product.","exploited":"There is no known exploitation of CVE-2025-50181 in the wild and no public exploit code.","fix":"Upgrade urllib3 to 2.5.0 or later.","what":"CVE-2025-50181 is a medium-severity server-side request forgery vulnerability in urllib3, published on 19 Jun 2025. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-50181 and fix it if it is affected.\n\nWhat it is: CVE-2025-50181 is a medium-severity server-side request forgery vulnerability in urllib3, published on 19 Jun 2025. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2025-50181 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- urllib3 (PyPI): affected all versions; fixed in 2.5.0\n- urllib3 (PyPI): affected all versions; fixed in 2.5.0\n- urllib3 (PyPI): affected all versions; fixed in 2.5.0\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-2025-50181/ (Markdown: https://insights.sbomify.com/CVE-2025-50181/index.md)","id":"CVE-2025-50181","markdown":"https://insights.sbomify.com/CVE-2025-50181/index.md","name":"CVE-2025-50181","record":{"aliases":["AZL-64170","AZL-64175","AZL-64218","AZL-64244","AZL-77823","BELL-CVE-2025-50181","CLEANSTART-2026-JF27043","CLSA-2025-1759795964","CLSA-2025-1767053571","DEBIAN-CVE-2025-50181","ECHO-25d6-11bf-b17d","GHSA-pq67-6m6q-mj2v","MGASA-2025-0281","MINI-3276-6vv2-rjfq","MINI-3pxj-fv3g-fcmw","MINI-4wqw-jxcf-vhwx","MINI-5jg9-rf79-w63f","MINI-g8cr-599c-g56j","MINI-hjhw-6xjc-pw7h","MINI-phw3-8mw6-vxx4","MINI-r69p-mxw9-m967","MINI-r6wh-mfm7-qp25","MINI-v6fx-x95x-xqm5","OESA-2025-1958","OESA-2025-2317","PYSEC-2026-1999","ROOT-APP-PYPI-CVE-2025-50181","SUSE-SU-2025:02735-1","SUSE-SU-2025:02736-1","SUSE-SU-2025:02985-1","SUSE-SU-2025:20558-1","SUSE-SU-2025:20856-1","UBUNTU-CVE-2025-50181","USN-7599-2","openSUSE-SU-2025:15284-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":true,"product_category":"Python HTTP client library","requires_auth":"low_privilege","summary":"Attackers can bypass SSRF mitigations in urllib3 when redirects are disabled via specific PoolManager retry configurations, affecting applications relying on this setting.","user_interaction":"not_required","vuln_class":"ssrf"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"urllib3","vendor":"python"}],"cvss":{"score":5.3,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-601","name":"URL Redirection to Untrusted Site"}],"description":"urllib3 is a user-friendly HTTP client library for Python. Prior to 2.5.0, it is possible to disable redirects for all requests by instantiating a PoolManager and specifying retries in a way that disable redirects. By default, requests and botocore users are not affected. An application attempting to mitigate SSRF or open redirect vulnerabilities by disabling redirects at the PoolManager level will remain vulnerable. This issue has been patched in version 2.5.0.","ecosystems":["PyPI","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 SP6","SUSE:Linux Enterprise Module for Basesystem 15 SP7","SUSE:Linux Enterprise Module for Public Cloud 12","SUSE:Linux Enterprise Module for Public Cloud 15 SP4","SUSE:Linux Enterprise Module for Python 3 15 SP6","SUSE:Linux Enterprise Module for Python 3 15 SP7","SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5","SUSE:Linux Micro 6.0","SUSE:Linux Micro 6.1","openSUSE:Leap 15.6","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":"urllib3 redirects are not disabled when retries are disabled on PoolManager instantiation","id":"CVE-2025-50181","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"ssrf","year":"2025"},"n_packages":19,"n_references":3,"next":{"headline":"urllib3 does not control redirects in browsers and Node.js","id":"CVE-2025-50182"},"packages":[{"ecosystem":"PyPI","fixed":["2.5.0"],"introduced":["0"],"last_affected":[],"package":"urllib3","purl":null,"source":"GHSA-pq67-6m6q-mj2v"},{"ecosystem":"PyPI","fixed":["2.5.0"],"introduced":["0"],"last_affected":[],"package":"urllib3","purl":"pkg:pypi/urllib3","source":"GHSA-pq67-6m6q-mj2v"},{"ecosystem":"PyPI","fixed":["2.5.0"],"introduced":["0"],"last_affected":[],"package":"urllib3","purl":"pkg:pypi/urllib3","source":"PYSEC-2026-1999"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.1","fixed":["1.25.10-150300.4.18.1"],"introduced":["0"],"last_affected":[],"package":"python-urllib3","purl":"pkg:rpm/suse/python-urllib3\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.1","source":"SUSE-SU-2025:02985-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.2","fixed":["1.25.10-150300.4.18.1"],"introduced":["0"],"last_affected":[],"package":"python-urllib3","purl":"pkg:rpm/suse/python-urllib3\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.2","source":"SUSE-SU-2025:02985-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.3","fixed":["1.25.10-150300.4.18.1"],"introduced":["0"],"last_affected":[],"package":"python-urllib3","purl":"pkg:rpm/suse/python-urllib3\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.3","source":"SUSE-SU-2025:02985-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.4","fixed":["1.25.10-150300.4.18.1"],"introduced":["0"],"last_affected":[],"package":"python-urllib3","purl":"pkg:rpm/suse/python-urllib3\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.4","source":"SUSE-SU-2025:02985-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.5","fixed":["1.25.10-150300.4.18.1"],"introduced":["0"],"last_affected":[],"package":"python-urllib3","purl":"pkg:rpm/suse/python-urllib3\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.5","source":"SUSE-SU-2025:02985-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP6","fixed":["1.25.10-150300.4.18.1"],"introduced":["0"],"last_affected":[],"package":"python-urllib3","purl":"pkg:rpm/suse/python-urllib3\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP6","source":"SUSE-SU-2025:02985-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP7","fixed":["1.25.10-150300.4.18.1"],"introduced":["0"],"last_affected":[],"package":"python-urllib3","purl":"pkg:rpm/suse/python-urllib3\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP7","source":"SUSE-SU-2025:02985-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Public Cloud 12","fixed":["1.25.10-3.43.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-2025:02736-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Public Cloud 15 SP4","fixed":["2.0.7-150400.7.21.1"],"introduced":["0"],"last_affected":[],"package":"python-urllib3","purl":"pkg:rpm/suse/python-urllib3\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Public%20Cloud%2015%20SP4","source":"SUSE-SU-2025:02735-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Python 3 15 SP6","fixed":["2.0.7-150400.7.21.1"],"introduced":["0"],"last_affected":[],"package":"python-urllib3","purl":"pkg:rpm/suse/python-urllib3\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Python%203%2015%20SP6","source":"SUSE-SU-2025:02735-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Python 3 15 SP7","fixed":["2.0.7-150400.7.21.1"],"introduced":["0"],"last_affected":[],"package":"python-urllib3","purl":"pkg:rpm/suse/python-urllib3\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Python%203%2015%20SP7","source":"SUSE-SU-2025:02735-1"},{"ecosystem":"SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5","fixed":["1.25.10-3.43.1"],"introduced":["0"],"last_affected":[],"package":"python-urllib3","purl":"pkg:rpm/suse/python-urllib3\u0026distro=SUSE%20Linux%20Enterprise%20Server%20LTSS%20Extended%20Security%2012%20SP5","source":"SUSE-SU-2025:02736-1"},{"ecosystem":"SUSE:Linux Micro 6.0","fixed":["2.1.0-3.1"],"introduced":["0"],"last_affected":[],"package":"python-urllib3","purl":"pkg:rpm/suse/python-urllib3\u0026distro=SUSE%20Linux%20Micro%206.0","source":"SUSE-SU-2025:20558-1"},{"ecosystem":"SUSE:Linux Micro 6.1","fixed":["2.1.0-slfo.1.1_2.1"],"introduced":["0"],"last_affected":[],"package":"python-urllib3","purl":"pkg:rpm/suse/python-urllib3\u0026distro=SUSE%20Linux%20Micro%206.1","source":"SUSE-SU-2025:20856-1"},{"ecosystem":"openSUSE:Leap 15.6","fixed":["2.0.7-150400.7.21.1"],"introduced":["0"],"last_affected":[],"package":"python-urllib3","purl":"pkg:rpm/opensuse/python-urllib3\u0026distro=openSUSE%20Leap%2015.6","source":"SUSE-SU-2025:02735-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["1.26.20-3.1"],"introduced":["0"],"last_affected":[],"package":"python-urllib3_1","purl":"pkg:rpm/opensuse/python-urllib3_1\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2025:15284-1"}],"prev":{"headline":"esm.sh is vulnerable to full-response SSRF","id":"CVE-2025-50180"},"products":["urllib3"],"published":"2025-06-19","related":[{"cvss_score":8.9,"headline":"urllib3: HTTPResponse.stream()/read_chunked() buffers an unbounded chunk-size line into memory","id":"CVE-2026-97689","kev_date_added":null,"published":"2026-09-29"},{"cvss_score":8.9,"headline":"urllib3: Decompression-bomb safeguards bypassed in parts of the streaming API","id":"CVE-2026-44432","kev_date_added":null,"published":"2026-05-13"},{"cvss_score":8.9,"headline":"urllib3 vulnerable to decompression-bomb safeguard bypass when following HTTP redirects (streaming API)","id":"CVE-2026-21441","kev_date_added":null,"published":"2026-01-07"},{"cvss_score":8.9,"headline":"urllib3 allows an unbounded number of links in the decompression chain","id":"CVE-2025-66418","kev_date_added":null,"published":"2025-12-05"},{"cvss_score":8.9,"headline":"urllib3 Streaming API improperly handles highly compressed data","id":"CVE-2025-66471","kev_date_added":null,"published":"2025-12-05"},{"cvss_score":8.2,"headline":"urllib3: Sensitive headers forwarded across origins in proxied low-level redirects","id":"CVE-2026-44431","kev_date_added":null,"published":"2026-05-13"},{"cvss_score":7.6,"headline":"urllib3: HTTPS proxy TLS configuration may be ignored or overridden","id":"CVE-2026-97687","kev_date_added":null,"published":"2026-09-29"}],"sources":[{"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":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"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-12-22","vendors":["urllib3"]},"summary":"Attackers can bypass SSRF mitigations in urllib3 when redirects are disabled via specific PoolManager retry configurations, affecting applications relying on this setting.","url":"https://insights.sbomify.com/CVE-2025-50181/"}