GO-2024-2888

Mishandling of corrupt central directory record in archive/zip

En bref

Publiée
Mise à jour
CVE
CVE-2024-24789
Alias
BIT-golang-2024-24789

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.

Paquets affectés

PaquetVersions
Go · stdlibintroduced 0, fixed 1.21.11, introduced 1.22.0-0, fixed 1.22.4

Références

Sources

SourceLicence
OSV.devCC-BY 4.0 — Go Vulnerability Database