CVE-2024-24789

Mishandling of corrupt central directory record in archive/zip

State
Published
Severity
5.3 Medium
Published
Jun 5, 2024
Updated
Feb 13, 2025
Reserved
Jan 30, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.15.3 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:LCISA-ADP

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
archive/zipGo standard library
  • before 1.21.11Affected
  • 1.22.0-0 to before 1.22.4Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.