An issue was discovered in the tar crate before 0.4.36 for Rust.
Priority LOW 36CWE-59Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- None · High · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub.
Summary
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.
Why it matters now
EPSS 0.01392 72nd percentileScored 2026-11-07
Public exploit Yes 2 exploit referencesTagged by NVD
Fix Fixed tar (crates.io): 0.4.36
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | tar (crates.io) | before 0.4.36 | 0.4.36 | Patch available | GHSA-62jx-8vmh-4mcw |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- tar (crates.io) Vendor— Affected before 0.4.36 Fixed in 0.4.36 Patch available GHSA-62jx-8vmh-4mcw
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:tar_project:tar:*:*:*:*:*:rust:*:* | before 0.4.36 | Vulnerable | Tar Project |
- cpe:2.3:a:tar_project:tar:*:*:*:*:*:rust:*:* Versions before 0.4.36 Vulnerable ·Tar Project
Remediation
- Fix · GHSA-62jx-8vmh-4mcw tar (crates.io) Fixed in 0.4.36 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
Not affected: 1 product
- Red Hat Advanced Cluster Management for Kubernetes 2
Timeline
- 2026-10-02 Threatist record created from CVE-2021-38511
- 2026-10-03 Alias added: GHSA-62jx-8vmh-4mcw
References
Exploit 2
More Tar Project Tar vulnerabilities
- TI-2021-12469 Arbitrary File Creation/Overwrite due to insufficient absolute path sanitization CVSS 3.1HIGH 8.2
- TI-2021-12468 Arbitrary File Creation/Overwrite via insufficient symlink protection due to directory cache poisoning CVSS 3.1HIGH 8.2
- TI-2018-14952 An issue was discovered in the tar crate before 0.4.16 for Rust. CVSS 3.0HIGH 7.5
- TI-2026-25499 tar-rs: unpack_in can chmod arbitrary directories by following symlinks CVSS 4.0MEDIUM 5.1
Sources
- CVE-2021-38511 · CVE Program
- CVE-2021-38511 · NVD
- FIRST EPSS
- GHSA-62jx-8vmh-4mcw · GitHub Advisory Database · CC BY 4.0
- CVE-2021-38511 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences