CVE-2018-20834
Last modified
CVE-2018-20834 is a vulnerability of currently unknown severity. A vulnerability was found in node-tar before version 4.4.2 (excluding version 2.2.2). An Arbitrary File Overwrite issue exists when extracting a tarball containing a hardlink to a file that already exists on the system, in conjunction with a later plain file with the same name as the hardlink. EPSS estimates a 3.15% chance of exploitation in the next 30 days.
Description
A vulnerability was found in node-tar before version 4.4.2 (excluding version 2.2.2). An Arbitrary File Overwrite issue exists when extracting a tarball containing a hardlink to a file that already exists on the system, in conjunction with a later plain file with the same name as the hardlink. This plain file content replaces the existing file content. A patch has been applied to node-tar v2.2.2).
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Isaacs | Tar | < 2.2.2 |
| Isaacs | Tar | >= 3.0.0, < 4.4.2 |
References
- https://github.com/npm/node-tar/commit/b0c58433c22f5e7fe8b1c76373f27e3f81dcd4c8Patch, Third Party Advisory
- https://github.com/npm/node-tar/compare/58a8d43...a5f7779Patch, Third Party Advisory
- https://hackerone.com/reports/344595Exploit, Third Party Advisory
- https://github.com/npm/node-tar/commit/b0c58433c22f5e7fe8b1c76373f27e3f81dcd4c8Patch, Third Party Advisory
- https://github.com/npm/node-tar/compare/58a8d43...a5f7779Patch, Third Party Advisory
- https://hackerone.com/reports/344595Exploit, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2018-20834?
How severe is CVE-2018-20834?
How do I fix CVE-2018-20834?
Are you affected by CVE-2018-20834?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
