{"answers":{"affected":"2 open source packages ship an affected version, including private-ip.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-8020 exists.","fix":"Upgrade to a fixed version.","what":"CVE-2025-8020 is a high-severity server-side request forgery vulnerability in private-ip, published on 23 Jul 2025. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-8020 and fix it if it is affected.\n\nWhat it is: CVE-2025-8020 is a high-severity server-side request forgery vulnerability in private-ip, published on 23 Jul 2025. 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-2025-8020 exists.\n\nAffected packages and fixed versions:\n- private-ip (npm): affected all versions up to 3.0.2; no fix listed\n- private-ip (npm): affected all versions up to 3.0.2; no fix listed\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-8020/ (Markdown: https://insights.sbomify.com/CVE-2025-8020/index.md)","id":"CVE-2025-8020","markdown":"https://insights.sbomify.com/CVE-2025-8020/index.md","name":"CVE-2025-8020","record":{"aliases":["CLSA-2026-1791834096","GHSA-9h3q-32c7-r533"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"npm private-ip library","requires_auth":"none","summary":"Attackers can bypass private IP restrictions by using multicast addresses, potentially accessing internal network resources.","user_interaction":"not_required","vuln_class":"ssrf"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"snyk","cpe":[],"cvss":{"score":8.8,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N/E:P","version":"4.0"},"cwes":[{"id":"CWE-918","name":"Server-Side Request Forgery"}],"description":"All versions of the package private-ip are vulnerable to Server-Side Request Forgery (SSRF) where an attacker can provide an IP or hostname that resolves to a multicast IP address (224.0.0.0/4) which is not included as part of the private IP ranges in the package's source code.","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":"private-ip vulnerable to Server-Side Request Forgery","id":"CVE-2025-8020","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"ssrf","year":"2025"},"n_packages":2,"n_references":2,"next":{"headline":"files-bucket-server vulnerable to Directory Traversal","id":"CVE-2025-8021"},"packages":[{"ecosystem":"npm","fixed":[],"introduced":["0"],"last_affected":["3.0.2"],"package":"private-ip","purl":null,"source":"GHSA-9h3q-32c7-r533"},{"ecosystem":"npm","fixed":[],"introduced":["0"],"last_affected":["3.0.2"],"package":"private-ip","purl":"pkg:npm/private-ip","source":"GHSA-9h3q-32c7-r533"}],"prev":{"headline":"Shenzhen Libituo Technology LBT-T300-T310 appy.cgi sub_40B6F0 buffer overflow","id":"CVE-2025-8019"},"products":["private-ip"],"published":"2025-07-23","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":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-08-22","vendors":["n/a"]},"summary":"Attackers can bypass private IP restrictions by using multicast addresses, potentially accessing internal network resources.","url":"https://insights.sbomify.com/CVE-2025-8020/"}