{"id":"CVE-2024-24789","published":"2024-06-05T15:13:51Z","modified":"2025-02-13T17:40:27Z","title":"Mishandling of corrupt central directory record in archive/zip","vendor":"Go standard library","product":"archive/zip","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00391,"percentile":0.24904,"provenance":"source"},"cwes":[],"references":[{"url":"https://go.dev/cl/585397","tags":[]},{"url":"https://go.dev/issue/66869","tags":[]},{"url":"https://groups.google.com/g/golang-announce/c/XbxouI9gY7k/m/TuoGEhxIEwAJ","tags":[]},{"url":"https://pkg.go.dev/vuln/GO-2024-2888","tags":[]},{"url":"http://www.openwall.com/lists/oss-security/2024/06/04/1","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/U5YAEIA6IUHUNGJ7AIXXPQT6D2GYENX7/","tags":[]},{"url":"https://security.netapp.com/advisory/ntap-20250131-0008/","tags":[]}],"priority":{"score":8.7,"factors":[{"name":"EPSS percentile","points":4.98},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"go-standard-library","affectedVersions":[{"vendor":"Go standard library","product":"archive/zip","versions":["< 1.21.11",">= 1.22.0-0, < 1.22.4"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2024-06-06T15:26:12.977985Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"stdlib","vulnerableRanges":["<1.21.11",">=1.22.0-0, <1.22.4"],"patched":["1.21.11","1.22.4"],"from":["GO-2024-2888"],"provenance":"source"}],"summary":{"text":"The archive/zip package in the Go standard library mishandles certain invalid zip files, interpreting corrupt central directory records differently from most other zip implementations. An attacker who can supply a crafted zip file that a victim then opens with Go's archive/zip can produce contents that vary depending on which implementation reads the file, and exploitation requires local access and user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:57:02Z"},"euvd":{"id":"EUVD-2024-22166","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2024-24785","published":"2024-03-05","fixed":"1.22.1","kev":false},{"cve":"CVE-2023-45288","published":"2024-04-04","fixed":"1.22.2","kev":false,"link":{"from":"CVE-2023-45288","to":"CVE-2024-24789","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:stdlib","fromFixed":"1.21.9","toFixed":"1.21.11","daysApart":62}]}},{"cve":"CVE-2024-24788","published":"2024-05-08","fixed":"1.22.3","kev":false,"link":{"from":"CVE-2024-24788","to":"CVE-2024-24789","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:stdlib","fromFixed":"1.22.3","toFixed":"1.22.4","daysApart":28}]}},{"cve":"CVE-2024-24789","published":"2024-06-05","fixed":"1.22.4","kev":false},{"cve":"CVE-2024-24790","published":"2024-06-05","fixed":"1.22.4","kev":false},{"cve":"CVE-2024-24791","published":"2024-07-02","fixed":"1.22.5","kev":false,"link":{"from":"CVE-2024-24789","to":"CVE-2024-24791","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:stdlib","fromFixed":"1.21.11","toFixed":"1.21.12","daysApart":27}]}},{"cve":"CVE-2024-34155","published":"2024-09-06","fixed":"1.23.1","kev":false}],"package":"Go:stdlib"}}