Skip to main content
← All vulnerabilities
CVE-2024-24789GO-2024-2888BIT-GOLANG-2024-24789

Mishandling of corrupt central directory record in archive/zip

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.21.11, 1.22.4
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • archive/zip

    fixed in 1.21.11; From 1.22.0-0 · fixed in 1.22.4

  • stdlibGo

    fixed in 1.21.11; From 1.22.0-0 · fixed in 1.22.4

References 6

go.dev

groups.google.com

pkg.go.dev

openwall.com

lists.fedoraproject.org