CVE-2024-24790

published 5 Jun 2024 · updated 16 Nov 2026

Unexpected behavior from Is methods for IPv4-mapped IPv6 addresses in net/netip

9.8CriticalCVSS 9.8EPSS 2%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 2%. Fixed in 1.21.11 and 1.22.4.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Go standard library<1.21.11, >=1.22.0-0 <1.22.41.21.11, 1.22.4

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-24790 severity on Zeptric[![CVE-2024-24790](https://zeptric.io/badge/cve/CVE-2024-24790.svg)](https://zeptric.io/cve/CVE-2024-24790)