Skip to content
OpenAdvisories

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.

Affected products

VendorProductAffectedFixed
beaugunderson ip-address >= 10.1.1, < 10.2.2 —

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.

ReleasePackageFixed inAdvisory
Debian 14 node-ip-address 10.3.1-1 —
ReleasePackageFixed inAdvisory
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 —
ReleasePackageFixed inAdvisory
Red Hat Hardened Images 1 grafana12.4 12.4.6-0.3.hum1 RHSA-2026:49401
Red Hat Hardened Images 1 grafana13.1 13.1.1-0.5.2.hum1 RHSA-2026:50826

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling code-server 4.130.0-r6 —
Wolfi rolling kubeflow-pipelines-apiserver +1 2.17.2-r4 —
Wolfi rolling kubeflow-pipelines-frontend 2.17.0-r3 —
Wolfi rolling langfuse-3-compat 3.225.7-r6 —
Wolfi rolling langfuse-3-worker 3.225.1-r2 —
Wolfi rolling lerna 9.0.7-r17 —
Wolfi rolling npm-12 12.0.2-r2 —
Wolfi rolling opensearch-dashboards-3 3.7.0-r13 —
Wolfi rolling prism 5.16.0-r4 —
Wolfi rolling pulumi-language-nodejs 3.256.0-r1 —
Wolfi rolling renovate 44.23.3-r1 —
Wolfi rolling saf 1.7.0-r0 —
Wolfi rolling sqlpad 7.5.7-r31 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm ip-address >= 10.1.1, < 10.2.2 10.2.2 GHSA-4xrf-jv44-h6hh

Advisories 3

References