7.5

CVE-2021-38511: tar_project tar Link Following

CVSS: 7.5v3.1HighModified
AliasesUBUNTU-CVE-2021-38511DEBIAN-CVE-2021-38511GHSA-62jx-8vmh-4mcw
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.

Overall risk
40/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.5/10
010
High · v3.1 (NVD)
EPSS score
1.39%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits2reference

Timeline

  1. 10-08-2021
    PublishedVulnerability first disclosed.
  2. 04-08-2024
    Last 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

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 score
1.39%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

2 found
  • referenceUnverified

    Exploit Reference (rustsec.org)

    Maturity: unknown

  • referenceUnverified

    Exploit Reference (raw.githubusercontent.com)

    Maturity: unknown

Weaknesses

CWE · root cause

Affected 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
Ubuntu1 product
  • rust-tarAll versions (No fix recorded)

4 vendors · 4 products

References

10 links