CRITICAL9.8
GO-2024-2887
Unexpected behavior from Is methods for IPv4-mapped IPv6 addresses in net/netip
Quick fix
GO-2024-2887 — stdlib: upgrade to the fixed version with the command below.
go get stdlib@v1.21.11Details
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.
Are you affected?
Enter the version of the package you're using.