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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 24.04 LTS | node-ip | 2.0.0+~1.1.0-1ubuntu1 | — |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| 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
- USN-6643-1 node-ip vulnerability Ubuntu Security Notices (USN) · Apr 27, 2026
- WID-SEC-2026-0455 NetApp ActiveIQ Unified Manager: Schwachstelle ermöglicht Offenlegung von Informationen, Denial of Service und Manipulation von Daten BSI CERT-Bund (WID) · Feb 18, 2026
- WID-SEC-2024-3542 Red Hat OpenShift: Mehrere Schwachstellen BSI CERT-Bund (WID) · Feb 5, 2026
- WID-SEC-2024-1590 HCL BigFix: Mehrere Schwachstellen BSI CERT-Bund (WID) · Dec 18, 2024
- WID-SEC-2024-0858 IBM QRadar SIEM: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 20, 2024
- WID-SEC-2024-0661 IBM App Connect Enterprise: Schwachstelle ermöglicht Codeausführung und Offenlegung BSI CERT-Bund (WID) · May 2, 2024
References
- https://cosmosofcyberspace.github.io/npm_ip_cve/npm_ip_cve.html
- https://github.com/indutny/node-ip/commit/6a3ada9b471b09d5f0f5be264911ab564bf67894
- https://huntr.com/bounties/bfc3b23f-ddc0-4ee7-afab-223b07115ed3/
- https://security.netapp.com/advisory/ntap-20240315-0008/
- https://www.bleepingcomputer.com/news/security/dev-rejects-cve-severity-makes-his-github-repo-read-only/