CVE-2026-69198
CVE-2026-69198 · ip-address: a CIDR suffix on the parsed address suppresses special-use classification and can bypass SSRF and trust-boundary checks
Esta página presenta datos de fuentes públicas de vulnerabilidades. Consulta el aviso original antes de actualizar.
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.
CVSS 6.9 · Media · EPSS 0,5% · Corrección disponible
- Publicación
- Actualización
Pila tecnológica: system · node
Productos y versiones afectados
ip-address
- Versiones
- >= 10.1.1, < 10.2.2: Afectada
Sin corrección publicada
node-ip-address Debian:14
- Versiones
- 10.2.0-1
- 10.2.0-2
- 8.1.0-2
- 8.1.0-3
- Intervalos de versiones afectados
- ECOSYSTEM: < 10.3.1-1
Actualiza a 10.3.1-1
ip-address npm
- Intervalos de versiones afectados
- SEMVER: ≥ 10.1.1, < 10.2.2
Actualiza a 10.2.2
node-ip-address Ubuntu:20.04:LTS
- Versiones
- 6.3.0-1
- Intervalos de versiones afectados
- ECOSYSTEM: (−∞, +∞)
Sin corrección publicada
node-ip-address Ubuntu:22.04:LTS
- Versiones
- 6.4.0-1
- 8.1.0-2
- Intervalos de versiones afectados
- ECOSYSTEM: (−∞, +∞)
Sin corrección publicada
node-ip-address Ubuntu:24.04:LTS
- Versiones
- 8.1.0-2
- Intervalos de versiones afectados
- ECOSYSTEM: (−∞, +∞)
Sin corrección publicada
node-ip-address Ubuntu:26.10
- Versiones
- 8.1.0-3
- 10.2.0-2
- 10.3.1-1
- 10.4.0-1
- Intervalos de versiones afectados
- ECOSYSTEM: (−∞, +∞)
Sin corrección publicada
node-ip-address Ubuntu:26.04:LTS
- Versiones
- 8.1.0-2
- 8.1.0-3
- Intervalos de versiones afectados
- ECOSYSTEM: (−∞, +∞)
Sin corrección publicada