{"answers":{"affected":"2 open source packages ship an affected version, including ip.","exploited":"There is no known exploitation of CVE-2024-29415 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2024-29415 is a high-severity server-side request forgery vulnerability in n/a, published on 27 May 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-2024-29415 and fix it if it is affected.\n\nWhat it is: CVE-2024-29415 is a high-severity server-side request forgery vulnerability in n/a, published on 27 May 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2024-29415 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- ip (npm): affected all versions up to 2.0.1; no fix listed\n- ip (npm): affected all versions up to 2.0.1; 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-2024-29415/ (Markdown: https://insights.sbomify.com/CVE-2024-29415/index.md)","id":"CVE-2024-29415","markdown":"https://insights.sbomify.com/CVE-2024-29415/index.md","name":"CVE-2024-29415","record":{"aliases":["CLSA-2026-1774657401","CLSA-2026-1792160906","DEBIAN-CVE-2024-29415","GHSA-2p57-rm9w-gvfp","MINI-8wm4-557r-8xf5","MINI-9gq3-34wx-wr7g","MINI-frjr-x6gq-6fmc","ROOT-APP-NPM-CVE-2024-29415","UBUNTU-CVE-2024-29415"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Node.js IP library","requires_auth":"none","summary":"The ip library for Node.js incorrectly categorizes certain IP addresses as public, allowing Server-Side Request Forgery attacks.","user_interaction":"not_required","vuln_class":"ssrf"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[],"cvss":{"score":8.1,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-941","name":"Incorrectly Specified Destination in a Communication Channel"},{"id":"CWE-918","name":"Server-Side Request Forgery"}],"description":"The ip package through 2.0.1 for Node.js might allow SSRF because some IP addresses (such as 127.1, 01200034567, 012.1.2.3, 000:0:0000::01, and ::fFFf:127.0.0.1) are improperly categorized as globally routable via isPublic. NOTE: this issue exists because of an incomplete fix for CVE-2023-42282.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":"2024-07-05","github_poc":2,"max_poc_stars":1,"metasploit":0,"nuclei":0,"refs":[{"date":"2024-07-05T07:50:29Z","kind":"github_poc","ref":"https://github.com/felipecruz91/node-ip-vex","stars":1,"title":"Sample project that uses VEX to supress CVE-2024-29415."},{"date":"2026-07-04T22:57:29Z","kind":"github_poc","ref":"https://github.com/bybraveHQ/ip2","stars":0,"title":"Maintained fork of node-ip with the unpatched SSRF advisory (CVE-2024-29415) fixed"}],"tier":"poc_unverified"},"has_fix":true,"headline":"ip SSRF improper categorization in isPublic","id":"CVE-2024-29415","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"ssrf","year":"2024"},"n_packages":2,"n_references":3,"next":{"headline":"Privilege escalation in n/a","id":"CVE-2024-29417"},"packages":[{"ecosystem":"npm","fixed":[],"introduced":["0"],"last_affected":["2.0.1"],"package":"ip","purl":null,"source":"GHSA-2p57-rm9w-gvfp"},{"ecosystem":"npm","fixed":[],"introduced":["0"],"last_affected":["2.0.1"],"package":"ip","purl":"pkg:npm/ip","source":"GHSA-2p57-rm9w-gvfp"}],"prev":{"headline":"Cross-site scripting in n/a","id":"CVE-2024-29413"},"products":["n/a"],"published":"2024-05-27","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)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-02-13","vendors":["n/a"]},"summary":"The ip library for Node.js incorrectly categorizes certain IP addresses as public, allowing Server-Side Request Forgery attacks.","url":"https://insights.sbomify.com/CVE-2024-29415/"}