{"id":"CVE-2021-38511","published":"2021-08-10T22:12:46Z","modified":"2024-08-04T01:44:23Z","title":"An issue was discovered in the tar crate before 0.4.36 for Rust","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.01392,"percentile":0.73033,"provenance":"source"},"cwes":[],"references":[{"url":"https://rustsec.org/advisories/RUSTSEC-2021-0080.html","tags":["x_refsource_MISC"]},{"url":"https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/tar/RUSTSEC-2021-0080.md","tags":["x_refsource_MISC"]}],"priority":{"score":14.6,"factors":[{"name":"EPSS percentile","points":14.61}]},"affected":[{"ecosystem":"crates.io","package":"tar","vulnerableRanges":["<0.4.36",">=0.0.0-0, <0.4.36"],"patched":["0.4.36"],"from":["GHSA-62jx-8vmh-4mcw","RUSTSEC-2021-0080"],"provenance":"source"}],"summary":{"text":"The flaw is in the tar crate for Rust, in versions before 0.4.36, where the archive extraction logic mishandles symlinks.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:48:08Z"},"euvd":{"id":"EUVD-2021-1587","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2018-20990","published":"2019-08-26","fixed":"0.4.16","kev":false,"link":{"from":"CVE-2018-20990","to":"CVE-2021-38511","relation":"successor","confidence":"medium","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"crates.io:tar","fromFixed":"0.4.16","toFixed":"0.4.36","daysApart":715},{"kind":"similar","provenance":"machine","score":0.61,"basis":"same package + description similarity"}]}},{"cve":"CVE-2021-38511","published":"2021-08-10","fixed":"0.4.36","kev":false},{"cve":"CVE-2026-33055","published":"2026-03-20","fixed":"0.4.45","kev":false},{"cve":"CVE-2026-33056","published":"2026-03-20","fixed":"0.4.45","kev":false}],"package":"crates.io:tar"}}