5.3medium
Mishandling of corrupt central directory record in archive/zip
- Severity
- 5.3medium CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.44% (higher than 40% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Go
- Also known as
- GO-2024-2888BIT-GOLANG-2024-24789
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
| Product or package | Versions | Reported by |
|---|---|---|
| archive/zip | before 1.21.11, from 1.22.0-0 before 1.22.4 | CVE List |
| golang go | before 1.21.11, from 1.22.0 before 1.22.4 | CVE List, NVD |
| stdlib (Go) | before 1.21.11, from 1.22.0-0 before 1.22.4 | Go Vulnerability Database |
| golang (Bitnami) | before 1.21.11, from 1.22.0-0 before 1.22.4 | Bitnami Vulnerability Database |
All scores
| CISA-ADP | 5.3medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L |
| NVD | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
| Bitnami Vulnerability Database | medium rating |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
El manejo que hace el paquete archive/zip de ciertos tipos de archivos zip no válidos difiere del comportamiento de la mayoría de las implementaciones zip. Esta desalineación podría aprovecharse para crear un archivo zip con contenidos que varían según la implementación que lea el archivo. El paquete archive/zip ahora rechaza los archivos que contienen estos errores.
References
| https://go.dev/cl/585397 | fix, patch | |
| https://go.dev/issue/66869 | fix, issue-tracking, patch, report | |
| https://groups.google.com/g/golang-announce/c/XbxouI9gY7k/m/TuoGEhxIEwAJ | article, release-notes, web | |
| https://pkg.go.dev/vuln/GO-2024-2888 | advisory, third-party-advisory | |
| http://www.openwall.com/lists/oss-security/2024/06/04/1 | discussion, mailing-list | |
| https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/U5YAEIA6IUHUNGJ7AIXXPQT6D2GYENX7/ | web | |
| https://security.netapp.com/advisory/ntap-20250131-0008/ | web | |
| https://nvd.nist.gov/vuln/detail/CVE-2024-24789 | web | |
Related
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-24789 changed 2025-02-13 | CVE Terms of Use |
| Go Vulnerability Database | GO-2024-2888 changed 2026-03-23 | CC-BY-4.0 |
| NVD | CVE-2024-24789 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-GOLANG-2024-24789 changed 2026-09-10 | Apache-2.0 |