CVE-2023-42282
CRITICAL 9.8CVSS 3.1NPM IP package incorrectly identifies some private IP addresses as public
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.
- Published
- 8 Feb 2024
- Last modified
- 10 Sep 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-918
- Also known as
- GHSA-78xj-cgh5-2h22
- Sources
- NVDJSONOSV GHSA-78xj-cgh5-2h22JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | fedorindutny | ipcpe:2.3:a:fedorindutny:ip:*:*:*:*:*:node.js:*:* |
< 1.1.9 | 1.1.9 |
| NVD | fedorindutny | ipcpe:2.3:a:fedorindutny:ip:2.0.0:*:*:*:*:node.js:*:* |
= 2.0.0 | |
| OSV | npm | ip | >= 2.0.0, < 2.0.1 | 2.0.1 |
| OSV | npm | ip | < 1.1.9 | 1.1.9 |
References
- https://cosmosofcyberspace.github.io/npm_ip_cve/npm_ip_cve.html · Exploit, Third Party Advisory, WEB
- https://github.com/indutny/node-ip/commit/6a3ada9b471b09d5f0f5be264911ab564bf67894 · Patch, WEB
- https://huntr.com/bounties/bfc3b23f-ddc0-4ee7-afab-223b07115ed3/ · Exploit, Technical Description
- https://security.netapp.com/advisory/ntap-20240315-0008/ · Third Party Advisory
- https://www.bleepingcomputer.com/news/security/dev-rejects-cve-severity-makes-his-github-repo-read-only/ · Press/Media Coverage
- https://nvd.nist.gov/vuln/detail/CVE-2023-42282 · ADVISORY
- https://github.com/JoshGlazebrook/socks/issues/93#issue-2128357447 · WEB
- https://github.com/github/advisory-database/pull/3504#issuecomment-1937179999 · WEB
- https://github.com/indutny/node-ip/pull/138 · WEB
- https://github.com/indutny/node-ip/commit/32f468f1245574785ec080705737a579be1223aa · WEB
- https://github.com/indutny/node-ip · PACKAGE
History
- 25 Nov 2026 20:54 UTC · NVD: first stored (published 8 Feb 2024)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 8 Feb 2024)