CVE-2018-20834

Published Apr 23, 2019
·
Updated

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).

Affected Software

7 affected componentsFixes available
npm/tar>=3.0.0<4.4.2
4.4.2
npm/tar<2.2.2
2.2.2
redhat/nodejs-tar<4.4.2
4.4.2
Node-tar Project Node-tar<2.2.2
Node-tar Project Node-tar>=3.0.0<4.4.2
isaacs Tar<2.2.2
isaacs Tar>=3.0.0<4.4.2

Event History

Apr 30, 2019
CVE Published
via MITRE·06:01 PM
Data Sourced
via MITRE·06:01 PM
Description
Data Sourced
via NVD·07:29 PM
RemedyDescriptionSeverityWeaknessAffected Software
May 1, 2019
Advisory Published
06:37 PM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2018-20834?

CVE-2018-20834 has been classified with high severity due to the potential for arbitrary file overwrites.

2

How do I fix CVE-2018-20834?

To fix CVE-2018-20834, upgrade node-tar to version 4.4.2 or higher, or to version 2.2.2.

3

What software is affected by CVE-2018-20834?

CVE-2018-20834 affects node-tar versions prior to 4.4.2 and version 2.2.2.

4

What is the nature of the vulnerability in CVE-2018-20834?

CVE-2018-20834 is an arbitrary file overwrite vulnerability that occurs when extracting tarballs with conflicting hardlinks.

5

Is there a specific condition when CVE-2018-20834 can be exploited?

CVE-2018-20834 can be exploited when a tarball contains a hardlink to an existing file and a later plain file with the same name.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203