CVE-2024-24789
MEDIUM5.5EPSS 0.01%Mishandling of corrupt central directory record in archive/zip
Published: 6/4/2024Modified: 4/28/2026
Description
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.
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 | MEDIUM5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
References (9)
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2024-24789
- PATCHhttps://go.dev/cl/585397
- REPORThttps://go.dev/issue/66869
- WEBhttps://groups.google.com/g/golang-announce/c/XbxouI9gY7k/m/TuoGEhxIEwAJ
- WEBhttps://lists.fedoraproject.org/archives/list/[email protected]/message/U5YAEIA6IUHUNGJ7AIXXPQT6D2GYENX7/
- WEBhttps://nvd.nist.gov/vuln/detail/CVE-2024-24789
- WEBhttps://pkg.go.dev/vuln/GO-2024-2888
- WEBhttps://security.netapp.com/advisory/ntap-20250131-0008/
- WEBhttp://www.openwall.com/lists/oss-security/2024/06/04/1