Live threats

All CVEs / Golang

CVE-2024-24789Golang Go

Medium 5.5

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Go.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
golanggo< 1.21.11
golanggo≥ 1.22.0 < 1.22.4

Official sources

References

Links published by the sources. Open them with care.