CVE-2024-24789Golang Go
Medium 5.5
Follow: this CVE · Golang · Golang Go We alert you by email or Slack (account required).
- Priority
- 33
- CVSS 3.1
- 5.5
- EPSS
- 0.4% probability of exploitation in 30 days · percentile 25
- Auth required
- Yes
- Published
- Jun 5, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
What happens
The archive/zip package's handling of certain types of invalid zip files differs from the behavior of most zip implementations. This misalignment could be exploited to create an zip file with contents that vary depending on the implementation reading the file. The archive/zip package now rejects files containing these errors.
What to do
- Apply the vendor's security update for Go.
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-2888). 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 sources
References
Links published by the sources. Open them with care.
- www.openwall.com Mailing List
- go.dev Patch
- go.dev Issue Tracking Patch
- groups.google.com Release Notes
- lists.fedoraproject.org
- pkg.go.dev Third Party Advisory
- security.netapp.com