{"id":"CVE-2018-20990","published":"2019-08-26T12:39:33Z","modified":"2024-08-05T12:19:27Z","title":"An issue was discovered in the tar crate before 0.4.16 for Rust","vendor":null,"product":null,"tier":"tail","description":{"text":"An issue was discovered in the tar crate before 0.4.16 for Rust. Arbitrary file overwrite can occur via a symlink or hardlink in a TAR archive.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.0163,"percentile":0.76855,"provenance":"source"},"cwes":[],"references":[{"url":"https://rustsec.org/advisories/RUSTSEC-2018-0002.html","tags":["x_refsource_MISC"]}],"priority":{"score":15.4,"factors":[{"name":"EPSS percentile","points":15.37}]},"affected":[{"ecosystem":"crates.io","package":"tar","vulnerableRanges":["<0.4.16",">=0.0.0-0, <0.4.16"],"patched":["0.4.16"],"from":["GHSA-2367-c296-3mp2","RUSTSEC-2018-0002"],"provenance":"source"}],"summary":{"text":"The flaw is in the tar crate for Rust, prior to version 0.4.16, where handling of symlinks and hardlinks inside TAR archives allows arbitrary file overwrite. An attacker who can supply a crafted TAR archive that a vulnerable application extracts can overwrite files at paths of their choosing, with the exact conditions (network access, authentication, user interaction, or configuration) not specified in the available record.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:42:02Z"},"euvd":{"id":"EUVD-2021-1502","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2018-20990","published":"2019-08-26","fixed":"0.4.16","kev":false},{"cve":"CVE-2021-38511","published":"2021-08-10","fixed":"0.4.36","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-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"}}