# CVE-2023-42282: NPM IP package incorrectly identifies some private IP addresses as public

- Severity: Critical 9.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.61%, higher than 76% of CVEs (2026-12-02)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2024-02-08T00:00:00.000Z
- Modified: 2026-09-10T03:50:09.794Z
- Also known as: GHSA-78xj-cgh5-2h22
- Weaknesses: CWE-918
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- ip (npm): from 2.0.0 before 2.0.1; before 1.1.9
- fedorindutny ip: before 1.1.9; 2.0.0

## Every score

- CISA-ADP: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: rating Low
- NVD: CVSS:3.1 9.8 Critical `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> (exploit, third-party-advisory, web)
- <https://huntr.com/bounties/bfc3b23f-ddc0-4ee7-afab-223b07115ed3/> (exploit, technical-description)
- <https://github.com/indutny/node-ip/commit/6a3ada9b471b09d5f0f5be264911ab564bf67894> (patch, web)
- <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)

## Sources

- CVE List: [CVE-2023-42282](https://www.cve.org/CVERecord?id=CVE-2023-42282), CVE Terms of Use, modified 2025-05-15
- GitHub Advisory Database: [GHSA-78xj-cgh5-2h22](https://github.com/advisories/GHSA-78xj-cgh5-2h22), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2023-42282](https://nvd.nist.gov/vuln/detail/CVE-2023-42282), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-42282 · Whole record: https://cve.day/CVE-2023-42282.json · Rebuilt by cve.day 2026-11-25T22:58:32.633Z
