CVE-2021-38511
unknown
CVSS v3
โ
CVSS v4 NEW
โ
VIR risk
โ
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.
Predictions
Exploit likelihood
30%
Patch ETA
โ
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| sles | affected | | |
| debian | bookworm | fixed | 0.4.37-1 |
| debian | bullseye | affected | |
| debian | forky | fixed | 0.4.37-1 |
| debian | sid | fixed | 0.4.37-1 |
| debian | trixie | fixed | 0.4.37-1 |
References
- https://github.com/alexcrichton/tar-rs/issues/238
- https://www.suse.com/security/cve/CVE-2021-38511.html
- https://nvd.nist.gov/vuln/detail/CVE-2021-38511
- https://github.com/alexcrichton/tar-rs/pull/259
- https://github.com/alexcrichton/tar-rs
- https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/tar/RUSTSEC-2021-0080.md
- https://rustsec.org/advisories/RUSTSEC-2021-0080.html
- https://crates.io/crates/tar
- https://security-tracker.debian.org/tracker/CVE-2021-38511
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.