High severity · published Aug 10, 2021
CVE-2021-38511
An issue was discovered in the tar crate before 0.4.36 for Rust
7.5
CVSS
1.4%
EPSS
No
On KEV
Description
An issue was discovered in the tar crate before 0.4.36 for Rust. When symlinks are present in a TAR archive, extraction can create arbitrary directories via .. traversal.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
None
Integrity
High
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)1.4% · higher than 72% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
TA
Tar · Tar Project
before 0.4.36 · source: NVD
Affected product
TA
Tar
Tar Project
More from Tar
8.1
CVE-2021-32804
The npm package "tar" (aka node-tar) before versions 6.1.1, 5.0.6, 4.4.14, and 3.3.2 has a arbitrary File Creation/Overwrite vulnerability due to insufficient absolute path…
8.1
CVE-2021-32803
The npm package "tar" (aka node-tar) before versions 6.1.2, 5.0.7, 4.4.15, and 3.2.3 has an arbitrary File Creation/Overwrite vulnerability via insufficient symlink protection
7.5
CVE-2018-20990
An issue was discovered in the tar crate before 0.4.16 for Rust
6.5
CVE-2026-33056
tar-rs: unpack_in can chmod arbitrary directories by following symlinks