Vulnerability · Published Feb 8, 2024 · Assigned by mitre
CVE-2023-42282
Critical 9.8
In plain English
A critical-severity server-side request forgery in the node-ip package (Debian). Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 1.6% (higher than 76% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)9.8Critical
Exploit odds (30 days)1.6%top 23.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack tooling1Public PoC
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | node-ip | no fix listed | DEBIAN-CVE-2023-42282 |
| Debian:13 | node-ip | 2.0.1+~1.1.3-1 | DEBIAN-CVE-2023-42282 |
| Debian:14 | node-ip | 2.0.1+~1.1.3-1 | DEBIAN-CVE-2023-42282 |
| Ubuntu:24.04:LTS | node-ip | 2.0.0+~1.1.0-1ubuntu1 | UBUNTU-CVE-2023-42282 |
| npm | ip | 2.0.1 | GHSA-78xj-cgh5-2h22 |
| npm | ip | 1.1.9 | GHSA-78xj-cgh5-2h22 |
Affected products (as reported)
Weakness: CWE-918 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
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/