Back

HIGH

nodejs-tar: Arbitrary file overwrites when extracting tarballs containing a hard-link

Published Apr 30, 2019

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

Affected products

Remediation

Red Hat statement

In Red Hat OpenShift Logging the openshift-logging/kibana6-rhel8 container bundles many nodejs packages as a build time dependencies, including the tar package. The vulnerable nodejs tar package is not used in a way that makes this vulnerability exploitable, hence the impact to OpenShift Logging by this vulnerability is Low.

Metrics

Weaknesses (1)

References (11)

Change history (0)

No recorded changes yet.

Sources
CVE.org / MITRE
Status PUBLISHED
Assigner mitre
Published Apr 30, 2019
Updated Aug 5, 2024
Reserved Apr 30, 2019
NVD
Status Modified
Modified Jun 17, 2026
Red Hat
Severity Important
Public date Apr 30, 2018
GHSA-J44M-QM6P-HP7M