{"schemaVersion":3,"id":"CVE-2018-20990","aliases":["UBUNTU-CVE-2018-20990","GHSA-2367-c296-3mp2","RUSTSEC-2018-0002"],"status":"published","duplicateOf":null,"title":null,"description":"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.","dates":{"published":"2019-08-26T12:39:33.000Z","modified":"2024-08-05T12:19:27.012Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","version":"3.0","versionLabel":"v3.0","source":"NVD","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.0","versionLabel":"v3.0","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":6.4,"severity":"medium","vector":"AV:N/AC:L/Au:N/C:N/I:P/A:P","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Ubuntu","score":7.5,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","exploitability":10,"impact":6,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Crates.io","score":7.5,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","exploitability":10,"impact":6,"computed":true}]},"epss":{"probability":0.01676,"percentile":0.76557,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.01676},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01676,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01676,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01676,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01676,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01676,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01676,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01676,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01575,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01676,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01676,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01676,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01676,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01676,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01676,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01676,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01676,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01676,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01676,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01676,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01676,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01676,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01676,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01676,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01676,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01676,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01676,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01676,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01676,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01676,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01676,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01676,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01676,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01676,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01676,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01676,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01676,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01676,"percentile":0.76557}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.01676,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01575,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01676,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01676,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01676,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01676,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01676,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01676,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01676,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01676,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01676,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01676,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01676,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01676,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01676,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01676,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01676,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01676,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01676,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01676,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01676,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01676,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01676,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01676,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01676,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01676,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01676,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01676,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01676,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01676,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01676,"percentile":0.76557}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-59","name":"Improper Link Resolution Before File Access ('Link Following')","description":"The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/59.html"}],"affected":[{"vendor":"Crates.Io","product":"tar","name":"tar","label":"tar","ecosystem":"Crates.Io","cpePart":null,"purl":"pkg:cargo/tar","purlType":"cargo","versions":[{"text":"< 0.4.16","noFixRecorded":false,"fixedIn":null},{"text":"≥ 0.0.0-0, < 0.4.16","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.4.16 | ≥ 0.0.0-0, < 0.4.16","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"rust-tar","name":"rust-tar","label":"rust-tar","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/rust-tar","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"tar_project","product":"tar","name":"tar","label":"tar","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 0.4.16","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.4.16","eol":null,"hubHref":"/vendor/tar_project/tar"}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://rustsec.org/advisories/RUSTSEC-2018-0002.html","label":"rustsec.org/advisories/RUSTSEC-2018-0002.html","hostname":"rustsec.org","tags":["X Refsource MISC","Third Party Advisory","REPORT","WEB","Advisory"]},{"url":"https://ubuntu.com/security/CVE-2018-20990","label":"ubuntu.com/security/CVE-2018-20990","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-20990","label":"www.cve.org/CVERecord?id=CVE-2018-20990","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-20990","label":"nvd.nist.gov/vuln/detail/CVE-2018-20990","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/alexcrichton/tar-rs/pull/156","label":"github.com/alexcrichton/tar-rs/pull/156","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/alexcrichton/tar-rs/commit/54651a87ae6ba7d81fcc72ffdee2ea7eca2c7e85","label":"github.com/alexcrichton/tar-rs/commit/54651a87ae6ba7d81fcc72ffdee2ea7eca2c7e85","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/alexcrichton/tar-rs","label":"github.com/alexcrichton/tar-rs","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://crates.io/crates/tar","label":"crates.io/crates/tar","hostname":"crates.io","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2019-08-26T12:39:33.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-05T12:19:27.012Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":30,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T21:57:19.155Z","stale":false,"partial":false}}