Go archive/zip Improper Handling of Invalid ZIP Files (CVE-2024-24789)
CVE-2024-24789 Published on June 5, 2024
Mishandling of corrupt central directory record in archive/zip
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.
Vulnerability Analysis
CVE-2024-24789 can be exploited with local system access, requires user interaction. This vulnerability is considered to have a low attack complexity. Public availability of a proof of concept (POC) exploit exists for CVE-2024-24789. The potential impact of an exploit of this vulnerability is considered to be low. considered to have a small impact on confidentiality and integrity and availability.
Products Associated with CVE-2024-24789
You can be notified by email with stack.watch whenever vulnerabilities like CVE-2024-24789 are published in these products:
Affected Versions
Go standard library archive/zip:- Before 1.21.11 is affected.
- Version 1.22.0-0 and below 1.22.4 is affected.
- Before 1.21.11 is affected.
- Version 1.22.0 and below 1.22.4 is affected.
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.