CVE-2018-20990
HIGH 7.5CVSS 3.0Arbitrary file overwrite in tar-rs
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.
- Published
- 26 Aug 2019
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-59
- Also known as
- GHSA-2367-c296-3mp2RUSTSEC-2018-0002
- Sources
- NVDJSONOSV GHSA-2367-c296-3mp2JSONOSV RUSTSEC-2018-0002JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | HIGH 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| OSV | GitHub | CVSS 3.0 | HIGH 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| OSV | RustSec | CVSS 3.0 | HIGH 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.4 | AV:N/AC:L/Au:N/C:N/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | tar_project | tarcpe:2.3:a:tar_project:tar:*:*:*:*:*:*:*:* |
< 0.4.16 | 0.4.16 |
| OSV | crates.io | tar | < 0.4.16 | 0.4.16 |
| OSV | crates.io | tar | >= 0.0.0-0, < 0.4.16 | 0.4.16 |
References
- https://rustsec.org/advisories/RUSTSEC-2018-0002.html · Third Party Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2018-20990 · ADVISORY
- https://github.com/alexcrichton/tar-rs/pull/156 · WEB
- https://github.com/alexcrichton/tar-rs/commit/54651a87ae6ba7d81fcc72ffdee2ea7eca2c7e85 · WEB
- https://github.com/alexcrichton/tar-rs · PACKAGE
- https://crates.io/crates/tar · PACKAGE
History
- 25 Nov 2026 20:30 UTC · NVD: first stored (published 26 Aug 2019)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 29 Jun 2018)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Aug 2021)