GO-2024-2887
Dashboard / Vulnerabilities / GO-2024-2887
Summary: Unexpected behavior from Is methods for IPv4-mapped IPv6 addresses in net/netip
Details: 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.
References: https://go.dev/cl/590316, https://go.dev/issue/67680, https://groups.google.com/g/golang-announce/c/XbxouI9gY7k/m/TuoGEhxIEwAJ
Affected packages
Package
Name: stdlib
Purl: pkg:golang/stdlib
Affected ranges
Type: SEMVER
Events:
Introduced- 0
Fixed -1.21.11
Affected versions
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
