Live threats

All CVEs / Tar Project

CVE-2021-38511Tar Project Tar

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
1.4%
probability of exploitation in 30 days · percentile 73
Auth required
No
Published
Aug 10, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-59
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Tar.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
crates.io tar < 0.4.36 0.4.36 cargo update -p tar --precise 0.4.36
crates.io tar ≥ 0.0.0-0 < 0.4.36 0.4.36 cargo update -p tar --precise 0.4.36

Per OSV / GitHub Advisories (GHSA-62jx-8vmh-4mcw, RUSTSEC-2021-0080). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
tar_projecttar< 0.4.36

Official sources

References

Links published by the sources. Open them with care.