Vulnerability · Published Aug 10, 2021 · Assigned by mitre

CVE-2021-38511

High 7.5

In plain English

A high-severity security flaw in the rust-tar package (Debian). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.4% (higher than 72% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)7.5High
Exploit odds (30 days)1.4%top 27.5% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12rust-tar0.4.37-1DEBIAN-CVE-2021-38511
Debian:13rust-tar0.4.37-1DEBIAN-CVE-2021-38511
Debian:14rust-tar0.4.37-1DEBIAN-CVE-2021-38511
Ubuntu:24.04:LTSrust-tarno fix listedUBUNTU-CVE-2021-38511
Ubuntu:25.10rust-tarno fix listedUBUNTU-CVE-2021-38511
Ubuntu:26.04:LTSrust-tarno fix listedUBUNTU-CVE-2021-38511
Ubuntu:26.10rust-tarno fix listedUBUNTU-CVE-2021-38511

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

References