CVE
CVE-2023-42282
published critical CVSS 3.1 · 9.8nodejs-ip: arbitrary code execution via the isPublic() function
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Ubuntu | bionic | node-ip | Advisory build | 1.1.5-1ubuntu0.1~esm1 | USN-6643-1 |
| Ubuntu | focal | node-ip | Advisory build | 1.1.5-5ubuntu0.1~esm1 | USN-6643-1 |
| Ubuntu | jammy | node-ip | Advisory build | 1.1.5+~1.1.0-1ubuntu0.1~esm1 | USN-6643-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.8 / 10
- Severity
- critical
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
2- n/a
- CWE-918 CWE-918 Server-Side Request Forgery (SSRF)
References
5- 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/
Provider assertions
3mitre · cna
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 06a0bdb9641e4d08771c3aec814e01e790154620fa4aefaef3db38d58891b232
- Ingested
- 23 Sep 2026, 08:11:47 UTC
- Source record
- Official CVE record