PT-2026-26573 · Tar-Rs+3 · Tar-Rs+3

Xokdvium

·

Publicado

2026-03-19

·

Atualizado

2026-06-09

·

CVE-2026-33056

CVSS v2.0

7.8

Alta

VetorAV:N/AC:L/Au:N/C:N/I:C/A:N
Name of the Vulnerable Software and Affected Versions tar-rs versions 0.4.44 and below
Description The tar-rs crate’s unpack dir function uses fs::metadata() to verify if a path already exists as a directory during tar archive unpacking. Because fs::metadata() follows symbolic links, a specially crafted tarball containing a symlink entry followed by a directory entry with the same name causes the crate to incorrectly treat the symlink target as a valid existing directory. This leads to the application of chmod to the target, allowing an attacker to modify permissions of arbitrary directories outside the extraction root. The fs::metadata() function follows symbolic links, which is the root cause of the issue. The fix involves using fs::symlink metadata() in unpack dir to detect and reject symlinks instead of following them.
Recommendations Versions 0.4.44 and below should be updated to version 0.4.45 or later.

Exploit

Correção

DoS

Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾

Enumeração de Fraquezas

Identificadores relacionados

BDU:2026-05929
CVE-2026-33056
GHSA-J4XF-2G29-59PH
RUSTSEC-2026-0067
USN-8138-1
USN-8138-2
USN-8139-1
USN-8168-1
USN-8168-2

Produtos afetados

Linuxmint
Red Os
Ubuntu
Tar-Rs