| Name | CVE-2026-69198 |
| Description | ip-address is a library for parsing and manipulating IPv4 and IPv6 addresses in JavaScript. From 10.1.1 until 10.2.2, every special-use classification method is built on isInSubnet, which short-circuits to false whenever the address's own subnet mask is shorter than the reference range's mask. That mask comes verbatim from the CIDR suffix on the parsed input, so appending a suffix such as /0 suppresses classification entirely: isLoopback(), isPrivate(), isLinkLocal(), isCGNAT(), isMulticast(), isUnspecified(), isBroadcast(), isULA(), and getType() all report an internal address as unremarkable, while correctForm() and address still return the real internal target. An application that builds a network trust-boundary decision on these checks, for example a filter intended to block Server-Side Request Forgery, or SSRF, may therefore treat an internal target as external and allow the request. The underlying bit comparison is correct, and mask(n) already returns the first n bits of the full parsed address independently of subnetMask; the defect is solely that the containment guard sits in the classification path. This issue is fixed in version 10.2.2. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| node-ip-address (PTS) | bullseye | 6.4.0-1 | fixed |
| bookworm, trixie | 8.1.0-2 | fixed | |
| forky, sid | 10.3.1-1 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| node-ip-address | source | bullseye | (not affected) | |||
| node-ip-address | source | bookworm | (not affected) | |||
| node-ip-address | source | trixie | (not affected) | |||
| node-ip-address | source | (unstable) | 10.3.1-1 |
[trixie] - node-ip-address <not-affected> (Vulnerable code introduced later)
[bookworm] - node-ip-address <not-affected> (Vulnerable code introduced later)
[bullseye] - node-ip-address <not-affected> (Vulnerable code introduced later)
https://github.com/beaugunderson/ip-address/security/advisories/GHSA-4xrf-jv44-h6hh
Fixed by: https://github.com/beaugunderson/ip-address/commit/488fe9bc7c35363b4b090494fc38c266d217740d (v10.2.2)
The is* classification API was introduced for Address4 in 10.1.1 and extended to
Address6 in 10.2.0.