CVE-2018-20990 json
Arbitrary file overwrite in tar-rs
published 8y ago modified 4mo ago also GHSA-2367-c296-3mp2 , RUSTSEC-2018-0002 , EUVD-2021-1502
- cvss
- 7.5
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.7%
- EPSS 1.7% chance of exploitation in 30 days, percentile 77%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- crates.io tar 0.4.16
- tar_project tar 0.4.16
- github.com/alexcrichton/tar-rs@54651a8 commit
- github.com/alexcrichton/tar-rs#156 pull request
Is CVE-2018-20990 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerExploit prediction
1.68% chance of exploitation in the next 30 days, higher than 77% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| NVD | 2.0 | 6.4 | AV:N/AC:L/Au:N/C:N/I:P/A:P |
| OSV | 3.0 | 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| GitHub | 3.0 | 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| crates.io | tar | <0.4.16 >=0.0.0-0, <0.4.16 |
0.4.16 |
Classification
- Weakness
-
- CWE-59 Improper Link Resolution Before File Access
References
-
github.com
/alexcrichton/tar-rs/pull/156
web
-
github.com
/alexcrichton/tar-rs/commit/54651a87ae6ba7d81fcc72ffdee2ea7eca2c7e85
web
-
rustsec.org
/advisories/RUSTSEC-2018-0002.html
web, third-party-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2018-20990
advisory
-
github.com
/alexcrichton/tar-rs
package
-
crates.io
/crates/tar
package
Sources
- CVE List CVE-2018-20990
- GitHub Advisory GHSA-2367-c296-3mp2
- NVD CVE-2018-20990
- OSV RUSTSEC-2018-0002
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.