Description
ip-address is a library for parsing and manipulating IPv4 and IPv6 addresses in JavaScript. Prior to 10.5.1, the Address6 isLinkLocal method in src/ipv6.ts recognizes only fe80::/64 instead of the complete fe80::/10 IPv6 link-local range. An attacker-controlled address elsewhere in fe80::/10 can therefore pass a trust-boundary check that relies on isLinkLocal. The same address is identified as link-local by getType and getScope, exposing the inconsistent classification. A successful bypass can reach an on-link host outside the intended trust boundary. This issue is fixed in version 10.5.1.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| beaugunderson | ip-address | < 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 | — |
| Debian 13 | node-ip-address | No fix yet | — |
| Debian 12 | node-ip-address | No fix yet | — |
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.5.1 | 10.5.1 | GHSA-rpw4-54j3-4h4q |