CVE-2023-42282
NPM IP package incorrectly identifies some private IP addresses as public
Reported by mitre · Published February 8, 2024
ip is fixed in 2.0.1, 1.1.9 and 1.1.8 (npm)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| ip | npm | 2.0.1, 1.1.9, 1.1.8 |
| nodejs-14 | Chainguard | 14.21.3-r1 |
| renovate | Chainguard | 37.186.1-r0 |
| node-gyp | Wolfi | 10.1.0-r0 |
| npm-10.8.2 | Chainguard | 10.4.0-r1 |
| lerna | Wolfi | 8.1.2-r1 |
| sqlpad | Wolfi | 7.4.1-r1 |
| lerna | Chainguard | 8.1.2-r1 |
| renovate | Wolfi | 37.186.1-r0 |
| sqlpad | Chainguard | 7.4.1-r1 |
| node-gyp | Chainguard | 10.1.0-r0 |
| npm | Wolfi | 10.4.0-r1 |
1 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| chainguard | nodejs-14 | 0 |
| chainguard | renovate | 0 |
| wolfi | node-gyp | 0 |
| chainguard | npm-10.8.2 | 0 |
| wolfi | lerna | 0 |
| wolfi | sqlpad | 0 |
| chainguard | lerna | 0 |
| wolfi | renovate | 0 |
| chainguard | sqlpad | 0 |
| chainguard | node-gyp | 0 |
| wolfi | npm | 0 |
| n/a | n/a | * |
| fedorindutny | ip | |
| npm | ip | 0 |
| chainguard | npm | 0 |
Timeline
- Feb 8, 2024 CVE Published
- Feb 9, 2024 EPSS Score (30 in total, the first dated here)
- Mar 10, 2026 Security Advisory (8 in total, the first dated here)
- Aug 3, 2026 Coalition ESS Score
- Nov 21, 2026 Distribution Patch (7 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2023-42282
vulnetix vdb fixes CVE-2023-42282
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2023-42282/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart