Vulnerability 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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Tar Project | Tar | < 0.4.36 |
Related Weaknesses (CWE)
References
- https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/tar/RUSTSEC-20ExploitThird Party Advisory
- https://rustsec.org/advisories/RUSTSEC-2021-0080.htmlExploitThird Party Advisory
- https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/tar/RUSTSEC-20ExploitThird Party Advisory
- https://rustsec.org/advisories/RUSTSEC-2021-0080.htmlExploitThird Party Advisory
FAQ
What is CVE-2021-38511?
CVE-2021-38511 is a vulnerability with a CVSS score of 7.5 (HIGH). 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.
How severe is CVE-2021-38511?
CVE-2021-38511 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2021-38511?
Check the references section above for vendor advisories and patch information. Affected products include: Tar Project Tar.