Skip to content
OpenAdvisories
Critical · 9.8 CVE-2023-42282 EUVD-2024-0552GHSA-78xj-cgh5-2h22

NPM IP package incorrectly identifies some private IP addresses as public

Published Feb 8, 2024 · Updated May 15, 2025 · 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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 node-ip 2.0.1+~1.1.3-1 —
Debian 13 node-ip 2.0.1+~1.1.3-1 —
Debian 12 node-ip No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 24.04 LTS node-ip 2.0.0+~1.1.0-1ubuntu1 —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 22.04 LTS node-ip 1.1.5+~1.1.0-1ubuntu0.1~esm1 USN-6643-1
Ubuntu Pro 20.04 LTS node-ip 1.1.5-5ubuntu0.1~esm1 USN-6643-1
Ubuntu Pro 18.04 LTS node-ip 1.1.5-1ubuntu0.1~esm1 USN-6643-1

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 nodejs 20.14.0-1 —
Azure Linux 2 (CBL-Mariner) nodejs 16.20.2-3 —
Azure Linux 2 (CBL-Mariner) nodejs18 18.18.2-4 —
Azure Linux 2 (CBL-Mariner) reaper 3.1.1-10 —

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling lerna 8.1.2-r1 —
Wolfi rolling node-gyp 10.1.0-r0 —
Wolfi rolling npm +1 10.4.0-r1 —
Wolfi rolling pnpm-stage0 No fix yet —
Wolfi rolling renovate 37.186.1-r0 —
Wolfi rolling sqlpad +1 7.4.1-r1 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm ip >= 2.0.0, < 2.0.1 2.0.1 GHSA-78xj-cgh5-2h22
npm ip < 1.1.9 1.1.9 GHSA-78xj-cgh5-2h22

Advisories 6

References