CVE-2021-38511: tar_project tar
Vulnerability summary
CVE-2021-38511 is a high (CVSS 7.5) vulnerability in tar_project tar. EPSS estimates a 1.39% chance of exploitation in the next 30 days, higher than 73.3% of scored vulnerabilities. 2 public exploits are recorded.
Public exploit (reference, Date unknown)
Source freshness unavailable
How is this decided?Timeline
- 10-08-2021PublishedVulnerability first disclosed.
- 04-08-2024Last modifiedVulnerability information updated.
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 metrics
5 scores · 4 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- OSV · DebianEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- OSV · Crates.ioEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
EPSS trend
Probability
1.39%
Chance of exploitation in the next 30 days
Percentile
73%
Versus all other CVEs
30-day change
No change 0.00 pp
From 1.39% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
2 foundExploit Reference (rustsec.org)
Maturity: unknown
Exploit Reference (raw.githubusercontent.com)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Crates.Io1 product
- tar< 0.4.36 | ≥ 0.0.0-0, < 0.4.36
Debian1 product
- rust-tar< 0.4.37-1
Tar_project1 product
- tar< 0.4.36
Ubuntu1 product
- rust-tarAll versions (No fix recorded)
4 vendors · 4 products
References
10 links- rustsec.org/advisories/RUSTSEC-2021-0080.htmlX Refsource MISCREPORTWEBAdvisoryExploitThird Party Advisory
- raw.githubusercontent.com/rustsec/advisory-db/main/crates/tar/RUSTSEC-2021-0080.mdX Refsource MISCREPORTWEBExploitThird Party Advisory
- crates.io/crates/tarPACKAGE