Veille CVE

‹ Retour à la liste

CVE-2026-42497

7.5 Élevée

Publiée le 26/05/2026 à 04:16 · Modifiée le 24/07/2026 à 13:10 · Modifiée · Source : 9b29abf9-4ab0-4765-b253-1875cd9b441e

Description

Archive::Tar versions before 3.08 for Perl extract hardlinks to attacker controlled paths outside the extraction directory. _make_special_file() passes the tar header's linkname to link() without validating it against absolute paths or .. segments, creating a hardlink that shares the victim file's inode. A subsequent write through the extracted name modifies the victim file, and the post-extraction chmod, chown, and utime block in _extract_file() (guarded only against symlinks via -l) applies the tar header's mode, owner, and timestamps to the shared inode during extraction alone.

Traduire en français

Produits concernés

Scores CVSS

VersionScoreSourceVecteur
3.1 7.5 Élevée nvd@nist.gov (NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
3.1 7.5 Élevée 134c704f-9b21-4f2e-91b3-4a467353bcc0 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Faiblesses (CWE)

Références

Ailleurs