
CVE catalog
CVE-2021-38511
rust-tar: CVE-2021-38511
- Severity
- High · CVSS 7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 1.39% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | rust-tar | sid | 0.4.46-1 | fixed |
| Debian | rust-tar | forky | 0.4.46-1 | fixed |
| Debian | rust-tar | trixie | 0.4.43-4 | fixed |
| Debian | rust-tar | bookworm | 0.4.38-1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | rust-tar | source | sid | 0.4.37-1 | not yet assigned | Not reported | [992173] |
| Debian | rust-tar | source | forky | 0.4.37-1 | not yet assigned | Not reported | [992173] |
| Debian | rust-tar | source | trixie | 0.4.37-1 | not yet assigned | Not reported | [992173] |
| Debian | rust-tar | source | bookworm | 0.4.37-1 | not yet assigned | Not reported | [992173] |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [librust-tar-dev]Fixed
Source package: [rust-tar]
Details (2)
0.4.38-1· amd64 · bookwormFixed · Fixed:
0.4.37-1dsa · rust-tar · debian · bookworm; dsa · rust-tar · debian · 12
0.4.38-1· arm64 · bookwormFixed · Fixed:
0.4.37-1dsa · rust-tar · debian · bookworm; dsa · rust-tar · debian · 12
[Debian 13 (Trixie)]
- [librust-tar-dev]Fixed
Source package: [rust-tar]
Details (2)
0.4.43-4· amd64 · trixieFixed · Fixed:
0.4.37-1dsa · rust-tar · debian · 13
0.4.43-4· arm64 · trixieFixed · Fixed:
0.4.37-1dsa · rust-tar · debian · 13
Observed:
References
- [https://osv.dev/vulnerability/DEBIAN-CVE-2021-38511]
- [https://security-tracker.debian.org/tracker/CVE-2021-38511]
- [https://security.access.redhat.com/data/csaf/v2/vex/2021/cve-2021-38511.json]
[Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX]