CVE-2021-38511: tar_project tar Link Following
CVSS: 7.5v3.1HighModified
AliasesUBUNTU-CVE-2021-38511DEBIAN-CVE-2021-38511GHSA-62jx-8vmh-4mcwRUSTSEC-2021-0080
Published 10-08-2021Last modified 04-08-2024
Vulnerability summary
CVE-2021-38511 is a high (CVSS 7.5) Link Following vulnerability in tar_project tar. EPSS estimates a 1.39% chance of exploitation in the next 30 days, higher than 71.9% of scored vulnerabilities. 2 public exploits are recorded.
CVSS score
7.5/10
010
High · v3.1 (NVD)EPSS score
1.39%
0%100%
Low · 0.00 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits2reference
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 versionsHigh 7.5Preferred score · NVD (NIST)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:NSourcesAll 4 agree
- 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
Medium 5.0Preferred score · NVD (NIST)
AV:N/AC:L/Au:N/C:N/I:P/A:NSourcesSingle source
EPSS trend
Probability
1.39%
Chance of exploitation in the next 30 days
Percentile
72%
Versus all other CVEs
30-day change
0.00 pp
From 1.39% on 19-09-2026
19-09-202619-10-2026
EPSS score1.39%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
2 foundExploit Reference (rustsec.org)
Maturity: unknown
Exploit Reference (raw.githubusercontent.com)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
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