Go net: IsPrivate/IsLoopback fail on IPv4-mapped IPv6 addresses
CVE-2024-24790 Published on June 5, 2024

Unexpected behavior from Is methods for IPv4-mapped IPv6 addresses in net/netip
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.

Github Repository Github Repository NVD

Vulnerability Analysis

CVE-2024-24790 is exploitable with network access, and does not require authorization privileges or user interaction. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to be critical as this vulnerability has a high impact to the confidentiality, integrity and availability of this component.

Attack Vector:
NETWORK
Attack Complexity:
LOW
Privileges Required:
NONE
User Interaction:
NONE
Scope:
UNCHANGED
Confidentiality Impact:
HIGH
Integrity Impact:
HIGH
Availability Impact:
HIGH

Products Associated with CVE-2024-24790

You can be notified by email with stack.watch whenever vulnerabilities like CVE-2024-24790 are published in these products:

 
 
 

Affected Versions

Go standard library net/netip: golang go:

Exploit Probability

EPSS
0.08%
Percentile
24.14%

EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.