CVE-2024-24790Published Jun 5, 2024 · Jun 5Updated Oct 28
Unexpected behavior from Is methods for IPv4-mapped IPv6 addresses in net/netip
Go standard library net/netip
Critical9.8Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| stdlib Go |
|
|
Original description
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.
From the CVE record · Go