CVE-2025-29787
Publiée le 2025-03-17 · Dernière modification le 2026-06-17
Les applications utilisant la bibliothèque Rust `zip` (versions 1.3.0 à 2.2.f) sont vulnérables à une attaque par traversée de répertoire (path traversal) lors de l'extraction d'archives. Un attaquant peut fournir un fichier ZIP spécialement conçu contenant des liens symboliques qui, une fois extraits, écrasent des fichiers arbitraires sur votre système, pouvant potentiellement mener à une exécution complète de code à distance. Cela nécessite que l'attaquant ait la possibilité de télécharger un fichier sur votre système, bien que l'exploitation elle-même soit considérée comme complexe à exécuter.
DÉTAIL DU VECTEUR CVSS
RÉFÉRENCES
Description officielle du NVD (en anglais)
`zip` is a zip library for rust which supports reading and writing of simple ZIP files. In the archive extraction routine of affected versions of the `zip` crate starting with version 1.3.0 and prior to version 2.3.0, symbolic links earlier in the archive are allowed to be used for later files in the archive without validation of the final canonicalized path, allowing maliciously crafted archives to overwrite arbitrary files in the file system when extracted. Users who extract untrusted archive files using the following high-level API method may be affected and critical files on the system may be overwritten with arbitrary file permissions, which can potentially lead to code execution. Version 2.3.0 fixes the issue.