Lucene search

K
cvelistGoCVELIST:CVE-2024-24790
HistoryJun 05, 2024 - 3:13 p.m.

CVE-2024-24790 Unexpected behavior from Is methods for IPv4-mapped IPv6 addresses in net/netip

2024-06-0515:13:50
Go
www.cve.org
1
unexpected behavior
is methods
ipv4-mapped ipv6 addresses
net/netip
cve-2024-24790

6.4 Medium

AI Score

Confidence

Low

0.001 Low

EPSS

Percentile

27.0%

The various Is methods (IsPrivate, IsLoopback, etc) did not work as expected for IPv4-mapped IPv6 addresses, returning false for addresses which would return true in their traditional IPv4 forms.

CNA Affected

[
  {
    "vendor": "Go standard library",
    "product": "net/netip",
    "collectionURL": "https://pkg.go.dev",
    "packageName": "net/netip",
    "versions": [
      {
        "version": "0",
        "lessThan": "1.21.11",
        "status": "affected",
        "versionType": "semver"
      },
      {
        "version": "1.22.0-0",
        "lessThan": "1.22.4",
        "status": "affected",
        "versionType": "semver"
      }
    ],
    "programRoutines": [
      {
        "name": "Addr.IsLoopback"
      },
      {
        "name": "Addr.IsMulticast"
      },
      {
        "name": "Addr.IsInterfaceLocalMulticast"
      },
      {
        "name": "Addr.IsLinkLocalMulticast"
      },
      {
        "name": "Addr.IsGlobalUnicast"
      },
      {
        "name": "Addr.IsPrivate"
      }
    ],
    "defaultStatus": "unaffected"
  }
]

6.4 Medium

AI Score

Confidence

Low

0.001 Low

EPSS

Percentile

27.0%