CVE-2024-24790
CRITICAL9.8EPSS 0.17%Unexpected behavior from Is methods for IPv4-mapped IPv6 addresses in net/netip
Published: 6/4/2024Modified: 4/28/2026
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.
Affected packages (4)
- Bitnami/golangfrom 0, < 1.21.11, >= 1.22.0-0, < 1.22.4
- Debian/golang-1.15from 0
- Debian/golang-1.19from 0
- Go/stdlibfrom 0, < 1.21.11, >= 1.22.0-0, < 1.22.4
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | CRITICAL9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
References (8)
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2024-24790
- PATCHhttps://go.dev/cl/590316
- REPORThttps://go.dev/issue/67680
- WEBhttps://groups.google.com/g/golang-announce/c/XbxouI9gY7k/m/TuoGEhxIEwAJ
- WEBhttps://nvd.nist.gov/vuln/detail/CVE-2024-24790
- WEBhttps://pkg.go.dev/vuln/GO-2024-2887
- WEBhttps://security.netapp.com/advisory/ntap-20240905-0002/
- WEBhttp://www.openwall.com/lists/oss-security/2024/06/04/1