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.
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.
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:- Before 1.21.11 is affected.
- Version 1.22.0-0 and below 1.22.4 is affected.
- Before 1.21.11 is affected.
- Version 1.22.0-0 and below 1.22.4 is affected.
Exploit Probability
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.