What’s Vulnerable › Vulnerabilities
CVE-2023-42282: NPM IP package incorrectly identifies some private IP addresses as public
- Severity: critical (CVSS 9.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.6% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2024-02-08 · updated 2026-06-17
- Weakness: CWE-918
Description
The ip package before 1.1.9 for Node.js might allow SSRF because some IP addresses (such as 0x7f.1) are improperly categorized as globally routable via isPublic.
Affected products
- fedorindutny ip: before 1.1.9; 2.0.0 — fixed in 1.1.9
- Npm Ip: from 2.0.0 before 2.0.1; before 1.1.9; 2.0.0 — fixed in 2.0.1, 1.1.9
How to fix
Upgrade to a fixed version: fedorindutny ip 1.1.9; Npm Ip 2.0.1, 1.1.9. Check the vendor advisory for mitigations.
References
- https://cosmosofcyberspace.github.io/npm_ip_cve/npm_ip_cve.html
- https://github.com/indutny/node-ip/commit/6a3ada9b471b09d5f0f5be264911ab564bf67894
- https://huntr.com/bounties/bfc3b23f-ddc0-4ee7-afab-223b07115ed3/
- https://security.netapp.com/advisory/ntap-20240315-0008/
- https://www.bleepingcomputer.com/news/security/dev-rejects-cve-severity-makes-his-github-repo-read-only/
- https://cosmosofcyberspace.github.io/npm_ip_cve/npm_ip_cve.html
- https://github.com/indutny/node-ip/commit/6a3ada9b471b09d5f0f5be264911ab564bf67894
- https://huntr.com/bounties/bfc3b23f-ddc0-4ee7-afab-223b07115ed3/
- https://security.netapp.com/advisory/ntap-20240315-0008/
- https://www.bleepingcomputer.com/news/security/dev-rejects-cve-severity-makes-his-github-repo-read-only/
Get alerted when CVE-2023-42282 or the next vulnerability affects your stack