{"id":"CVE-2024-24790","published":"2024-06-05T15:13:50Z","modified":"2025-02-13T17:40:28Z","title":"Unexpected behavior from Is methods for IPv4-mapped IPv6 addresses in net/netip","vendor":"Go standard library","product":"net/netip","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.02178,"percentile":0.83015,"provenance":"source"},"cwes":[],"references":[{"url":"https://go.dev/cl/590316","tags":[]},{"url":"https://go.dev/issue/67680","tags":[]},{"url":"https://groups.google.com/g/golang-announce/c/XbxouI9gY7k/m/TuoGEhxIEwAJ","tags":[]},{"url":"https://pkg.go.dev/vuln/GO-2024-2887","tags":[]},{"url":"http://www.openwall.com/lists/oss-security/2024/06/04/1","tags":[]},{"url":"https://security.netapp.com/advisory/ntap-20240905-0002/","tags":[]}],"priority":{"score":23.5,"factors":[{"name":"EPSS percentile","points":16.6},{"name":"CVSS severity","points":6.86}]},"vendorSlug":"go-standard-library","affectedVersions":[{"vendor":"Go standard library","product":"net/netip","versions":["< 1.21.11",">= 1.22.0-0, < 1.22.4"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2024-08-07T14:59:19.414359Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"stdlib","vulnerableRanges":["<1.21.11",">=1.22.0-0, <1.22.4"],"patched":["1.21.11","1.22.4"],"from":["GO-2024-2887"],"provenance":"source"}],"summary":{"text":"The flaw lies in the Is methods (such as IsPrivate and IsLoopback) of the net/netip package in the Go standard library, which return false for IPv4-mapped IPv6 addresses where they would correctly return true for the equivalent IPv4 address. An attacker with network access can send requests using IPv4-mapped IPv6 forms of addresses, and no authentication, user interaction, or special configuration is needed for this to occur; the consequence is that code relying on these checks to classify addresses may treat such addresses as non-private or non-loopback.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:39:38Z"},"euvd":{"id":"EUVD-2024-22167","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2023-45288","published":"2024-04-04","fixed":"1.22.2","kev":false,"link":{"from":"CVE-2023-45288","to":"CVE-2024-24790","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:stdlib","fromFixed":"1.21.9","toFixed":"1.21.11","daysApart":62}]}},{"cve":"CVE-2024-24788","published":"2024-05-08","fixed":"1.22.3","kev":false,"link":{"from":"CVE-2024-24788","to":"CVE-2024-24790","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:stdlib","fromFixed":"1.22.3","toFixed":"1.22.4","daysApart":28}]}},{"cve":"CVE-2024-24789","published":"2024-06-05","fixed":"1.22.4","kev":false},{"cve":"CVE-2024-24790","published":"2024-06-05","fixed":"1.22.4","kev":false},{"cve":"CVE-2024-24791","published":"2024-07-02","fixed":"1.22.5","kev":false},{"cve":"CVE-2024-34155","published":"2024-09-06","fixed":"1.23.1","kev":false},{"cve":"CVE-2024-34156","published":"2024-09-06","fixed":"1.23.1","kev":false}],"package":"Go:stdlib"}}