{"answers":{"affected":"3 open source packages ship an affected version, including urllib3. It affects 1 product.","exploited":"There is no known exploitation of CVE-2018-25091 in the wild and no public exploit code.","fix":"Upgrade urllib3 to 1.24.2 or later.","what":"CVE-2018-25091 is a medium-severity vulnerability in n/a, published on 15 Oct 2023. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2018-25091 and fix it if it is affected.\n\nWhat it is: CVE-2018-25091 is a medium-severity vulnerability in n/a, published on 15 Oct 2023. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2018-25091 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- urllib3 (PyPI): affected all versions; fixed in 1.24.2\n- urllib3 (PyPI): affected all versions; fixed in 1.24.2\n- urllib3 (PyPI): affected all versions; fixed in 1.24.2\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-2018-25091/ (Markdown: https://insights.sbomify.com/CVE-2018-25091/index.md)","id":"CVE-2018-25091","markdown":"https://insights.sbomify.com/CVE-2018-25091/index.md","name":"CVE-2018-25091","record":{"aliases":["DEBIAN-CVE-2018-25091","GHSA-gwvm-45gx-3cf8","MINI-8fh3-2g5h-8pr2","PYSEC-2023-207","ROOT-APP-PYPI-CVE-2018-25091","UBUNTU-CVE-2018-25091"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read","security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Python HTTP library","requires_auth":"none","summary":"Attackers can steal credentials from the Authorization header when urllib3 follows cross-origin redirects, exposing sensitive data to unintended hosts.","user_interaction":"required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"urllib3","vendor":"python"}],"cvss":{"score":6.1,"severity":"medium","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-601","name":"URL Redirection to Untrusted Site"}],"description":"urllib3 before 1.24.2 does not remove the authorization HTTP header when following a cross-origin redirect (i.e., a redirect that differs in host, port, or scheme). This can allow for credentials in the authorization header to be exposed to unintended hosts or transmitted in cleartext. NOTE: this issue exists because of an incomplete fix for CVE-2018-20060 (which was case-sensitive).","ecosystems":["PyPI"],"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":"Authorization Header forwarded on redirect","id":"CVE-2018-25091","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"information_disclosure","year":"2018"},"n_packages":3,"n_references":3,"next":{"headline":"Vaerys-Dawn DiscordSailv2 Command Mention access control","id":"CVE-2018-25092"},"packages":[{"ecosystem":"PyPI","fixed":["1.24.2"],"introduced":["0"],"last_affected":[],"package":"urllib3","purl":null,"source":"GHSA-gwvm-45gx-3cf8"},{"ecosystem":"PyPI","fixed":["1.24.2"],"introduced":["0"],"last_affected":[],"package":"urllib3","purl":"pkg:pypi/urllib3","source":"GHSA-gwvm-45gx-3cf8"},{"ecosystem":"PyPI","fixed":["1.24.2"],"introduced":["0"],"last_affected":[],"package":"urllib3","purl":"pkg:pypi/urllib3","source":"PYSEC-2023-207"}],"prev":{"headline":"Wago: Improper Neutralization of Input During Web Page Generation in multiple devices","id":"CVE-2018-25090"},"products":["n/a"],"published":"2023-10-15","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":"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":"2024-09-16","vendors":["n/a"]},"summary":"Attackers can steal credentials from the Authorization header when urllib3 follows cross-origin redirects, exposing sensitive data to unintended hosts.","url":"https://insights.sbomify.com/CVE-2018-25091/"}