CVE-2023-42282 NPM IP package incorrectly identifies some private IP addresses as public
CriticalCVSS 9.8
EPSS 1.6%
- Published
- Updated
- Exploit status
- No public exploit known
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 products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/node-ip(Debian:12) | All versions | No fix listed |
| debian/node-ip(Debian:12) | = 2.0.0+~1.1.0-1 | No fix listed |
| debian/node-ip(Debian:12) | = 2.0.1+~1.1.3-1 | No fix listed |
| debian/node-ip(Debian:12) | = 2.0.1+~1.1.3-2 | No fix listed |
| debian/node-ip(Debian:12) | = 2.0.1+~1.1.3-3 | No fix listed |
| debian/node-ip(Debian:13) | < 2.0.1+~1.1.3-1 | 2.0.1+~1.1.3-1 |
| debian/node-ip(Debian:14) | < 2.0.1+~1.1.3-1 | 2.0.1+~1.1.3-1 |
| npm ip(npm) | = 2.0.0 | No fix listed |
| npm ip(npm) | < 1.1.9 | 1.1.9 |
| ubuntu/node-ip(Ubuntu:22.04) | < 1.1.5+~1.1.0-1ubuntu0.1~esm1 | 1.1.5+~1.1.0-1ubuntu0.1~esm1 |
| ubuntu/node-ip(Ubuntu:24.04) | < 2.0.0+~1.1.0-1ubuntu1 | 2.0.0+~1.1.0-1ubuntu1 |
| fedorindutny ip | < 1.1.9 | 1.1.9 |
| fedorindutny ip | = 2.0.0 | No fix listed |
| npm ip(npm) | >= 2.0.0, < 2.0.1 | 2.0.1 |
| ubuntu/node-ip(Ubuntu:Pro:18.04) | < 1.1.5-1ubuntu0.1~esm1 | 1.1.5-1ubuntu0.1~esm1 |
| ubuntu/node-ip(Ubuntu:Pro:18.04) | = 1.1.5-1 | No fix listed |
| ubuntu/node-ip(Ubuntu:Pro:20.04) | < 1.1.5-5ubuntu0.1~esm1 | 1.1.5-5ubuntu0.1~esm1 |
| ubuntu/node-ip(Ubuntu:Pro:20.04) | = 1.1.5-3 | No fix listed |
| ubuntu/node-ip(Ubuntu:Pro:20.04) | = 1.1.5-5 | No fix listed |
| ubuntu/node-ip(Ubuntu:Pro:22.04) | < 1.1.5+~1.1.0-1ubuntu0.1~esm1 | 1.1.5+~1.1.0-1ubuntu0.1~esm1 |
| ubuntu/node-ip(Ubuntu:Pro:22.04) | = 1.1.5-5 | No fix listed |
| ubuntu/node-ip(Ubuntu:Pro:22.04) | = 1.1.5+~1.1.0-1 | No fix listed |
| ubuntu/node-ip(Ubuntu:24.04) | = 2.0.0+~1.1.0-1 | No fix listed |
References
- Debian Security Tracker CVE-2023-42282 vendor-advisory
- cosmosofcyberspace.github.io exploit issue-tracking third-party-advisory
- github.com patch
- huntr.com exploit issue-tracking technical-description
- security.netapp.com third-party-advisory
- www.bleepingcomputer.com press-media-coverage
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com patch
- github.com patch
- github.com patch
- github.com
- Ubuntu CVE tracker issue-tracking vendor-advisory
- USN-6643-1 vendor-advisory
- www.cve.org issue-tracking
- bugs.debian.org issue-tracking
- github.com product