Description
ip-address is a library for parsing and manipulating IPv4 and IPv6 addresses in JavaScript. From 10.2.0 until 10.5.1, the Address6 isPrivate classifier in src/ipv6.ts does not recognize the NAT64 local-use range 64:ff9b:1::/48. Applications that combine isPrivate, isLoopback, and isLinkLocal for a trust-boundary decision can treat an internal IPv4 destination encoded through that range as external. Exploitation depends on a server network using an operator-selected NAT64 prefix within the local-use range. A successful bypass can cross the intended network trust boundary. This issue is fixed in version 10.5.1.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| beaugunderson | ip-address | >= 10.2.0, < 10.5.1 | — |
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-address | 10.7.2-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | node-ip-address | No fix yet | — |
| Ubuntu 26.04 LTS | node-ip-address | No fix yet | — |
| Ubuntu 24.04 LTS | node-ip-address | No fix yet | — |
| Ubuntu 22.04 LTS | node-ip-address | No fix yet | — |
| Ubuntu 20.04 LTS | node-ip-address | No fix yet | — |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | code-server | 4.139.1-r1 | — |
| Wolfi rolling | lerna | 10.0.1-r5 | — |
| Wolfi rolling | npm-12 | 12.1.0-r1 | — |
| Wolfi rolling | opensearch-dashboards-3 | 3.9.0-r1 | — |
| Wolfi rolling | prism | 5.16.0-r14 | — |
| Wolfi rolling | pulumi-language-nodejs | 3.265.0-r2 | — |
| Wolfi rolling | renovate | 44.131.0-r1 | — |
| Wolfi rolling | sqlpad | 7.5.7-r42 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | ip-address | >= 10.2.0, < 10.5.1 | 10.5.1 | GHSA-2vr4-cq9g-pvrc |