{"answers":{"affected":"2 open source packages ship an affected version, including follow-redirects. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-26159 exists.","fix":"Upgrade follow-redirects to 1.15.4 or later.","what":"CVE-2023-26159 is a high-severity vulnerability in follow-redirects, published on 2 Jan 2024. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-26159 and fix it if it is affected.\n\nWhat it is: CVE-2023-26159 is a high-severity vulnerability in follow-redirects, published on 2 Jan 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-26159 exists.\n\nAffected packages and fixed versions:\n- follow-redirects (npm): affected all versions; fixed in 1.15.4\n- follow-redirects (npm): affected all versions; fixed in 1.15.4\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-26159/ (Markdown: https://insights.sbomify.com/CVE-2023-26159/index.md)","id":"CVE-2023-26159","markdown":"https://insights.sbomify.com/CVE-2023-26159/index.md","name":"CVE-2023-26159","record":{"aliases":["AZL-32314","AZL-38299","AZL-43636","AZL-45348","CLSA-2026-1776818197","DEBIAN-CVE-2023-26159","GHSA-jchw-25xp-jwwc","UBUNTU-CVE-2023-26159"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read","security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Node.js HTTP library","requires_auth":"none","summary":"Attackers can manipulate URL parsing to redirect traffic to malicious sites, enabling phishing or information disclosure in applications using the library.","user_interaction":"not_required","vuln_class":"open_redirect"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"snyk","cpe":[{"product":"follow_redirects","vendor":"follow-redirects"}],"cvss":{"score":7.3,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P","version":"3.1"},"cwes":[{"id":"CWE-601","name":"URL Redirection to Untrusted Site"},{"id":"CWE-20","name":"Improper Input Validation"}],"description":"Versions of the package follow-redirects before 1.15.4 are vulnerable to Improper Input Validation due to the improper handling of URLs by the url.parse() function. When new URL() throws an error, it can be manipulated to misinterpret the hostname. An attacker could exploit this weakness to redirect traffic to a malicious site, potentially leading to information disclosure, phishing attacks, or other security breaches.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Follow Redirects improperly handles URLs in the url.parse() function","id":"CVE-2023-26159","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"open_redirect","year":"2023"},"n_packages":2,"n_references":4,"next":{"headline":"Hardcoded credentials in FortiNAC","id":"CVE-2023-26203"},"packages":[{"ecosystem":"npm","fixed":["1.15.4"],"introduced":["0"],"last_affected":[],"package":"follow-redirects","purl":null,"source":"GHSA-jchw-25xp-jwwc"},{"ecosystem":"npm","fixed":["1.15.4"],"introduced":["0"],"last_affected":[],"package":"follow-redirects","purl":"pkg:npm/follow-redirects","source":"GHSA-jchw-25xp-jwwc"}],"prev":{"headline":"mockjs vulnerable to Prototype Pollution via the Util.extend function","id":"CVE-2023-26158"},"products":["follow-redirects"],"published":"2024-01-02","related":[],"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":"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":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-11-03","vendors":["n/a"]},"summary":"Attackers can manipulate URL parsing to redirect traffic to malicious sites, enabling phishing or information disclosure in applications using the library.","url":"https://insights.sbomify.com/CVE-2023-26159/"}