Skip to content
Heist/ feed
Back to feed
Medium

node-ip-address — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2026-54272

ip-address is a library for parsing and manipulating IPv4 and IPv6 addresses in JavaScript. Versions 10.1.1 through 10.2.0 are vulnerable to SSRF through misclassification of IPv4-mapped/NAT64 IPv6 addresses. Address6.getType() classifies an address by matching it against a table of known IPv6 special-use prefixes, returning Global unicast when nothing matches. That table had no entry for the IPv4-mapped range (::ffff:0:0/96), so every mapped address fell through to Global unicast; NAT64 addresses matched their own NAT64 … labels. The boolean checks isLoopback, isUnspecified, and isMulticast compared getType() against a fixed label and so returned false, while isLinkLocal and isULA checked only the native IPv6 ranges. The library already exposed isMapped4() and to4(), but did not apply them inside these checks, so a mapped or NAT64 address was never normalized to its embedded IPv4 address before classification. For IPv4-mapped addresses the host OS routes to the IPv4 stack, so the misclassification is reachable on any dual-stack host. For NAT64, the classification bypass is unconditional but end-to-end reachability additionally requires a NAT64/DNS64 gateway in the deployment network.This issue has been fixed in version 10.2.1.

Products
node-ip-address
Affected versions
10.2.0-2, 10.3.1-1, 10.4.0-1, 6.3.0-1, 6.4.0-1, 8.1.0-2, 8.1.0-3
Fixed versions
Not specified
CVEs
CVE-2026-54272
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 02:45 UTC · Revision 1

Source evidence

UBUNTU-CVE-2026-54272

core-osv · Original source

Published 27 Jul 2026, 18:16 UTC

ip-address is a library for parsing and manipulating IPv4 and IPv6 addresses in JavaScript. Versions 10.1.1 through 10.2.0 are vulnerable to SSRF through misclassification of IPv4-mapped/NAT64 IPv6 addresses. Address6.getType() classifies an address by matching it against a table of known IPv6 special-use prefixes, returning Global unicast when nothing matches. That table had no entry for the IPv4-mapped range (::ffff:0:0/96), so every mapped address fell through to Global unicast; NAT64 addresses matched their own NAT64 … labels. The boolean checks isLoopback, isUnspecified, and isMulticast compared getType() against a fixed label and so returned false, while isLinkLocal and isULA checked only the native IPv6 ranges. The library already exposed isMapped4() and to4(), but did not apply them inside these checks, so a mapped or NAT64 address was never normalized to its embedded IPv4 address before classification. For IPv4-mapped addresses the host OS routes to the IPv4 stack, so the misclassification is reachable on any dual-stack host. For NAT64, the classification bypass is unconditional but end-to-end reachability additionally requires a NAT64/DNS64 gateway in the deployment network.This issue has been fixed in version 10.2.1.

osv:UBUNTU-CVE-2026-54272

node-ip-address

Fixed versions: Not specified

node-ip-address

Fixed versions: Not specified

node-ip-address

Fixed versions: Not specified

node-ip-address

Fixed versions: Not specified

node-ip-address

Fixed versions: Not specified

Complete source record
{
  "id": "ac70403b6e6ae31e27644a9502dc406c3aa05697bb1dd49e98b1d320b3a18c10",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-54272",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2026-54272",
    "summary": "ip-address is a library for parsing and manipulating IPv4 and IPv6 addresses in JavaScript. Versions 10.1.1 through 10.2.0 are vulnerable to SSRF through misclassification of IPv4-mapped/NAT64 IPv6 addresses. Address6.getType() classifies an address by matching it against a table of known IPv6 special-use prefixes, returning Global unicast when nothing matches. That table had no entry for the IPv4-mapped range (::ffff:0:0/96), so every mapped address fell through to Global unicast; NAT64 addresses matched their own NAT64 … labels. The boolean checks isLoopback, isUnspecified, and isMulticast compared getType() against a fixed label and so returned false, while isLinkLocal and isULA checked only the native IPv6 ranges. The library already exposed isMapped4() and to4(), but did not apply them inside these checks, so a mapped or NAT64 address was never normalized to its embedded IPv4 address before classification. For IPv4-mapped addresses the host OS routes to the IPv4 stack, so the misclassification is reachable on any dual-stack host. For NAT64, the classification bypass is unconditional but end-to-end reachability additionally requires a NAT64/DNS64 gateway in the deployment network.This issue has been fixed in version 10.2.1.",
    "evidence": "osv:UBUNTU-CVE-2026-54272",
    "products": [
      {
        "name": {
          "value": "node-ip-address",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "6.3.0-1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "node-ip-address",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "6.4.0-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "8.1.0-2",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "node-ip-address",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "8.1.0-2",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "node-ip-address",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "8.1.0-3",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "10.2.0-2",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "10.3.1-1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "10.4.0-1",
            "evidence": "/affected/3/versions"
          }
        ]
      },
      {
        "name": {
          "value": "node-ip-address",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "8.1.0-2",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "8.1.0-3",
            "evidence": "/affected/4/versions"
          }
        ]
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "UBUNTU-CVE-2026-54272",
      "aliases": [
        "UBUNTU-CVE-2026-54272"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:H/SI:N/SA:N"
        },
        {
          "type": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "node-ip-address",
            "purl": "pkg:deb/ubuntu/node-ip-address?arch=source&distro=focal",
            "ecosystem": "Ubuntu:20.04:LTS"
          },
          "versions": [
            "6.3.0-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-54272.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "node-ip-address",
                "binary_version": "6.3.0-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "node-ip-address",
            "purl": "pkg:deb/ubuntu/node-ip-address?arch=source&distro=jammy",
            "ecosystem": "Ubuntu:22.04:LTS"
          },
          "versions": [
            "6.4.0-1",
            "8.1.0-2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-54272.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "node-ip-address",
                "binary_version": "8.1.0-2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "node-ip-address",
            "purl": "pkg:deb/ubuntu/node-ip-address?arch=source&distro=noble",
            "ecosystem": "Ubuntu:24.04:LTS"
          },
          "versions": [
            "8.1.0-2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-54272.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "node-ip-address",
                "binary_version": "8.1.0-2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "node-ip-address",
            "purl": "pkg:deb/ubuntu/node-ip-address?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "8.1.0-3",
            "10.2.0-2",
            "10.3.1-1",
            "10.4.0-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-54272.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "node-ip-address",
                "binary_version": "10.4.0-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "node-ip-address",
            "purl": "pkg:deb/ubuntu/node-ip-address?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "8.1.0-2",
            "8.1.0-3"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-54272.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "node-ip-address",
                "binary_version": "8.1.0-3"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T12:59:04.021664124Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-54272"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2026-54272",
        "https://www.cve.org/CVERecord?id=CVE-2026-54272"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-54272",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 359254,
  "published_at": "2026-07-27T18:16:00+00:00"
}