Skip to content
CVE PROGRAM SOURCE RECORD5.3 Medium

CVE-2024-24789

Mishandling of corrupt central directory record in archive/zip

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 products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Go standard library archive/zip

Default version status: unaffected

  • 0 to < 1.21.11affected
  • 1.22.0-0 to < 1.22.4affected

References