NetSight
high7.5

CVE-2021-38511

Links in archive can create arbitrary directories

Impact

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.

Affected packages

EcosystemPackageAffectedFixed in
rusttar< 0.4.360.4.36

Affected products

VendorProductAffected versions
Tar ProjectTar
before 0.4.36

Weakness classification

References