CVE-2024-24789: Mishandling of corrupt central directory record in archive/zip
Last updated 14 November 2024
Other sources
Mishandling of corrupt central directory record in archive/zip
— Microsoft
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.
— Launchpad
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
redhat/goto a version that resolves this vulnerability.Fixed in 1.22.4 - Upgrade
Upgrade
redhat/goto a version that resolves this vulnerability.Fixed in 1.21.11 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 1.22.4-1 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 1.22.3-1 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 1.21.11-1 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 1.18.8-8 - Upgrade
Upgrade
Goto a version that resolves this vulnerability.Fixed in 1.22.4 - Upgrade
Upgrade
Goto a version that resolves this vulnerability.Fixed in 1.21.11
Event History
Frequently Asked Questions
What is the severity of CVE-2024-24789?
CVE-2024-24789 is considered a moderate severity vulnerability due to its potential for exploitation through malformed zip files.
How can I fix CVE-2024-24789?
To fix CVE-2024-24789, update the Go package to version 1.22.4 or higher for Red Hat and Debian systems wherever applicable.
Which software versions are affected by CVE-2024-24789?
CVE-2024-24789 affects versions of Go prior to 1.22.4, including 1.21.11 for Red Hat and 1.15.15-1~deb11u4 and 1.19.8-2 for Debian.
What type of attacks can CVE-2024-24789 be used for?
CVE-2024-24789 could potentially be exploited to manipulate zip file content rendering inconsistencies based on the underlying ZIP implementation.
What implementations are primarily impacted by CVE-2024-24789?
CVE-2024-24789 primarily impacts the 'archive/zip' package in the Go programming language, differing from behavior in most other ZIP implementations.