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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | rust-tar | 0.4.37-1 | DEBIAN-CVE-2021-38511 |
| Debian:13 | rust-tar | 0.4.37-1 | DEBIAN-CVE-2021-38511 |
| Debian:14 | rust-tar | 0.4.37-1 | DEBIAN-CVE-2021-38511 |
| Ubuntu:24.04:LTS | rust-tar | no fix listed | UBUNTU-CVE-2021-38511 |
| Ubuntu:25.10 | rust-tar | no fix listed | UBUNTU-CVE-2021-38511 |
| Ubuntu:26.04:LTS | rust-tar | no fix listed | UBUNTU-CVE-2021-38511 |
| Ubuntu:26.10 | rust-tar | no fix listed | UBUNTU-CVE-2021-38511 |