Paper/Archive/CVE-2024-24790

CVE-2024-24790

Go standard library net/netip — Unexpected behavior from Is methods for IPv4-mapped IPv6 addresses in net/netip

Description · from the CVE record

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.

Affected

ProductAffectedFixed inSource
net/netip< 1.21.111.21.11CNA
net/netip1.22.0-0 – < 1.22.41.22.4CNA
go< 1.21.111.21.11CISA-ADP
go1.22.0-0 – < 1.22.41.22.4CISA-ADP

Scores by source

CISA ADP9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CISA ADPSSVCExploitation: none · Automatable: yes · Technical impact: total

References

refgo.dev/cl/590316refgo.dev/issue/67680refgroups.google.com/g/golang-announce/c/XbxouI9gY7k/m/TuoGEhxIEwAJrefpkg.go.dev/vuln/GO-2024-2887refopenwall.com/lists/oss-security/2024/06/04/1refsecurity.netapp.com/advisory/ntap-20240905-0002