Vulnerability in Golang Go
CVE-2024-24789
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N.
EPSS exploit prediction
EPSS 0.004, 39.0th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Golang Go
- Go Standard Library Archive/zip — versions 0, 1.22.0-0
Public exploits and proof-of-concept code
Also mentioned in 6 other repositories (8-cm/kube-dump, adegoodyer/kubernetes-admin-toolkit, CodingSimia/jenkins-shiftleft, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- go.dev/cl/585397 (Patch)
- go.dev/issue/66869 (Patch, Issue Tracking)
- groups.google.com/g/golang-announce/c/XbxouI9gY7k/m/TuoGEhxIEwAJ (Release Notes)
- pkg.go.dev/vuln/GO-2024-2888 (Third Party Advisory)
- www.openwall.com/lists/oss-security/2024/06/04/1 (Mailing List)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/…
- security.netapp.com/advisory/ntap-20250131-0008/