CVE-2024-24790Golang Go
Critical 9.8 No auth needed
Follow: this CVE · Golang · Golang Go We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- 2.2% probability of exploitation in 30 days · percentile 83
- Auth required
- No
- Published
- Jun 5, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Go.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | stdlib |
< 1.21.11 |
1.21.11 |
go get stdlib@v1.21.11 |
| Go | stdlib |
≥ 1.22.0-0 < 1.22.4 |
1.22.4 |
go get stdlib@v1.22.4 |
Per OSV / GitHub Advisories (GO-2024-2887). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| golang | go | < 1.21.11 |
| golang | go | ≥ 1.22.0 < 1.22.4 |
Official advisories
- Red Hat Security Advisory: OpenShift Container Platform 4.16.z security update · Red Hat · RHSA-2024:8418 · Oct 31, 2024 Medium
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- www.openwall.com Mailing List Third Party Advisory
- go.dev Patch
- go.dev Issue Tracking
- groups.google.com Release Notes
- pkg.go.dev Third Party Advisory
- security.netapp.com