CVE-2024-24789: Golang Go

Medium severity, CVSS 5.5. EPSS: 0.4% chance of exploitation in the next 30 days.

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 products

  • Golang Go: before 1.21.11 (fixed in 1.21.11); from 1.22.0, before 1.22.4 (fixed in 1.22.4)

Published 2024-06-05. Last modified 2026-06-17.