CVE-2023-42282
CRITICAL9.8EPSS 0.67%NPM IP package incorrectly identifies some private IP addresses as public
Published: 2/8/2024Modified: 4/28/2026
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 (2)
- Debian/node-ipfrom 0
- npm/ip>= 2.0.0, < 2.0.1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | CRITICAL9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
References (9)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2023-42282
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2023-42282
- PATCHhttps://github.com/indutny/node-ip
- WEBhttps://cosmosofcyberspace.github.io/npm_ip_cve/npm_ip_cve.html
- WEBhttps://github.com/github/advisory-database/pull/3504#issuecomment-1937179999
- WEBhttps://github.com/indutny/node-ip/commit/32f468f1245574785ec080705737a579be1223aa
- WEBhttps://github.com/indutny/node-ip/commit/6a3ada9b471b09d5f0f5be264911ab564bf67894
- WEBhttps://github.com/indutny/node-ip/pull/138
- WEBhttps://github.com/JoshGlazebrook/socks/issues/93#issue-2128357447