All reports
High

Links in archive can create arbitrary directories

Affected versions

Version ranges need review.

Rust / Cargotar
Affected versions
>=0.0.0-0 <0.4.36
Fixed version
0.4.36
Rust / Cargotar
Affected versions
< 0.4.36
Fixed version
0.4.36

Exploitation

CVE-2021-38511

Probability of exploitation in the next 30 days: 1.39%

FIRST EPSS · 2026-11-20

Description

When unpacking a tarball that contains a symlink the tar crate may create directories outside of the directory it's supposed to unpack into. The function errors when it's trying to create a file, but the folders are already created at this point.

Links