{"id":"CVE-2024-24789","aliases":["CVE-2024-24789","GO-2024-2888","BIT-GOLANG-2024-24789"],"related":["CGA-8g77-8qx6-mv63"],"kind":"vulnerability","state":"published","title":"Mishandling of corrupt central directory record in archive/zip","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2024-06-04T22:48:55.000Z","modified":"2026-09-10T16:00:34.865Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","score":5.3,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","score":5.5,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-390"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"1.21.11","status":"affected"},{"type":"semver","introduced":"1.22.0-0","fixed":"1.22.4","status":"affected"}],"vendor":"Go standard library","product":"archive/zip","package":"archive/zip","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","fixed":"1.21.11","status":"affected"},{"type":"semver","introduced":"1.22.0","fixed":"1.22.4","status":"affected"}],"vendor":"golang","product":"go","cpe":"cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.21.11"},{"type":"semver","introduced":"1.22.0-0","status":"affected","fixed":"1.22.4"}],"ecosystem":"Go","package":"stdlib","purl":"pkg:golang/stdlib","source":"go"},{"ranges":[{"status":"affected","fixed":"1.21.11"},{"status":"affected","introduced":"1.22.0","fixed":"1.22.4"}],"vendor":"golang","product":"go","cpe":"cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.21.11"},{"type":"semver","introduced":"1.22.0-0","status":"affected","fixed":"1.22.4"}],"ecosystem":"Bitnami","package":"golang","purl":"pkg:bitnami/golang","source":"bitnami"}],"references":[{"url":"https://go.dev/cl/585397","tags":["fix","patch","x-transferred"],"sources":["cvelist","go","nvd","bitnami"]},{"url":"https://go.dev/issue/66869","tags":["fix","issue-tracking","patch","report","x-transferred"],"sources":["cvelist","go","nvd","bitnami"]},{"url":"https://groups.google.com/g/golang-announce/c/XbxouI9gY7k/m/TuoGEhxIEwAJ","tags":["article","release-notes","web","x-transferred"],"sources":["cvelist","go","nvd","bitnami"]},{"url":"https://pkg.go.dev/vuln/GO-2024-2888","tags":["advisory","third-party-advisory","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"http://www.openwall.com/lists/oss-security/2024/06/04/1","tags":["discussion","mailing-list","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/U5YAEIA6IUHUNGJ7AIXXPQT6D2GYENX7/","tags":["web","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://security.netapp.com/advisory/ntap-20250131-0008/","tags":["web"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-24789","tags":["web"],"sources":["bitnami"]}],"credits":["Yufan You (@ouuan)"],"assigner":"Go","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2024-06-06T15:26:12.977Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-24789","url":"https://www.cve.org/CVERecord?id=CVE-2024-24789","licence":"CVE Terms of Use","modified":"2025-02-13T17:40:27.816Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2024-2888","url":"https://pkg.go.dev/vuln/GO-2024-2888","licence":"CC-BY-4.0","modified":"2026-03-23T05:00:55.888Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-24789","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-24789","licence":"Public domain","modified":"2026-06-17T07:14:51.923Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-GOLANG-2024-24789","url":"https://osv.dev/vulnerability/BIT-GOLANG-2024-24789","licence":"Apache-2.0","modified":"2026-09-10T16:00:34.865Z"}],"updatedAt":"2026-11-25T22:58:41.450Z","epss":{"score":0.00443,"percentile":0.40234,"date":"2026-12-01T12:00:22.000Z"}}