- Accueil
- Vulnérabilités
- CVE-2025-29787
CVE-2025-29787
`zip` is a zip library for rust which supports reading and writing of simple ZIP files. In the archive…
Résumé
`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.
Aucune traduction française : description d’origine affichée.
Produits et versions affectés
crates.io (1 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| zip | de 1.3.0 (inclus) à 2.3.0 (exclu) |
2.3.0 |
OSV |
Correctif
Mise à jour — crates.io/zip 2.3.0source officielle
Source : OSV
Contournement
Aucun contournement renseigné.
Savoir si vous êtes touché
Aucune méthode de vérification renseignée.
Chronologie
- — Publication de la CVE (cve)
Avis CERT-FR
- RUSTSEC-2025-0168 — Incorrect path canonicalization during Archive Extraction Leading to Arbitrary File Write 16 mars 2025
Références
- https://github.com/zip-rs/zip2/commit/a2e062f37066c3b12860a32eb1cb44856cfb7afeWEB
- https://crates.io/crates/zipPACKAGE
- https://rustsec.org/advisories/RUSTSEC-2025-0168.htmlADVISORY
- https://gist.github.com/eternal-flame-AD/bf71ef4f6828e741eb12ce7fd47b7b85
- https://github.com/zip-rs/zip2/releases/tag/v2.3.0
- https://github.com/zip-rs/zip2/security/advisories/GHSA-94vh-gphv-8pm8
Provenance des données
- Statut
- NVD
- Date de publication
- NVD
- Description
- NVD
- Score CVSS
- CNA (éditeur ou attributeur)
- Faiblesse (CWE)
- CNA (éditeur ou attributeur)
- Vecteur CVSS
CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:L/VI:H/VA:N/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:(CVSS 4.0, CNA:security-advisories@github.com)- Faiblesse
- CWE-22 · Traversée de chemin / fichiers