{"id":"GHSA-62jx-8vmh-4mcw","revision":"fdfbb147405547d3a3c9e16e3f21d4ae","records":[{"revision":"fdfbb147405547d3a3c9e16e3f21d4ae","observedAt":"2026-10-24T13:19:54.901+00:00","statement":{"source":"osv","id":"GHSA-62jx-8vmh-4mcw","aliases":["CVE-2021-38511","RUSTSEC-2021-0080"],"title":"Links in archive can create arbitrary directories","description":"When unpacking a tarball that contains a symlink the tar crate may create directories outside of the directory it's supposed to unpack into. The function errors when it's trying to create a file, but the folders are already created at this point.","state":0,"publishedAt":"2021-08-25T20:58:23+00:00","modifiedAt":"2023-11-08T04:06:27.878399+00:00","affected":[{"ecosystem":"crates.io","name":"tar","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"0.4.36"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["https://nvd.nist.gov/vuln/detail/CVE-2021-38511","https://github.com/alexcrichton/tar-rs/issues/238","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"],"sourceUrl":"https://github.com/advisories/GHSA-62jx-8vmh-4mcw","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-62jx-8vmh-4mcw","identifiers":["GHSA-62jx-8vmh-4mcw","CVE-2021-38511","RUSTSEC-2021-0080"]},"retained":false,"historicalAffected":[]}],"coverage":[]}