VDB
CVE-2018-20990
CVE-2018-20990
PUBLISHED
CVSS 7.5 HIGH
Arbitrary file overwrite in tar-rs
Reported by mitre · Published August 26, 2019
tar is fixed in 0.4.16 (crates.io)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| tar | crates.io | 0.4.16 |
| tar | tar_project | 0.4.16 |
Risk scores
CVSS 3.0
7.5
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| crates.io | tar | 0 |
| n/a | n/a | * |
Timeline
- Aug 26, 2019 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Jun 13, 2023 CVE Updated
- Mar 17, 2026 Security Advisory
- Sep 21, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2018-20990
vulnetix vdb fixes CVE-2018-20990
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2018-20990/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2018-20990 advisory
- https://github.com/advisories/GHSA-2367-c296-3mp2 advisory
- https://github.com/alexcrichton/tar-rs/pull/156 patch
- https://github.com/alexcrichton/tar-rs/commit/54651a87ae6ba7d81fcc72ffdee2ea7eca2c7e85 patch
- https://github.com/alexcrichton/tar-rs url