ID CVE-2018-20834
Summary 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).
References
Vulnerable Configurations
  • cpe:2.3:a:node-tar_project:node-tar:0.1.0:*:*:*:*:*:*:*
    cpe:2.3:a:node-tar_project:node-tar:0.1.0:*:*:*:*:*:*:*
  • cpe:2.3:a:node-tar_project:node-tar:0.1.2:*:*:*:*:*:*:*
    cpe:2.3:a:node-tar_project:node-tar:0.1.2:*:*:*:*:*:*:*
  • cpe:2.3:a:node-tar_project:node-tar:0.1.3:*:*:*:*:*:*:*
    cpe:2.3:a:node-tar_project:node-tar:0.1.3:*:*:*:*:*:*:*
  • cpe:2.3:a:node-tar_project:node-tar:0.1.5:*:*:*:*:*:*:*
    cpe:2.3:a:node-tar_project:node-tar:0.1.5:*:*:*:*:*:*:*
  • cpe:2.3:a:node-tar_project:node-tar:0.1.6:*:*:*:*:*:*:*
    cpe:2.3:a:node-tar_project:node-tar:0.1.6:*:*:*:*:*:*:*
  • cpe:2.3:a:node-tar_project:node-tar:0.1.7:*:*:*:*:*:*:*
    cpe:2.3:a:node-tar_project:node-tar:0.1.7:*:*:*:*:*:*:*
  • cpe:2.3:a:node-tar_project:node-tar:0.1.8:*:*:*:*:*:*:*
    cpe:2.3:a:node-tar_project:node-tar:0.1.8:*:*:*:*:*:*:*
  • cpe:2.3:a:node-tar_project:node-tar:0.1.9:*:*:*:*:*:*:*
    cpe:2.3:a:node-tar_project:node-tar:0.1.9:*:*:*:*:*:*:*
  • cpe:2.3:a:node-tar_project:node-tar:0.1.10:*:*:*:*:*:*:*
    cpe:2.3:a:node-tar_project:node-tar:0.1.10:*:*:*:*:*:*:*
  • cpe:2.3:a:node-tar_project:node-tar:0.1.11:*:*:*:*:*:*:*
    cpe:2.3:a:node-tar_project:node-tar:0.1.11:*:*:*:*:*:*:*
  • cpe:2.3:a:node-tar_project:node-tar:0.1.12:*:*:*:*:*:*:*
    cpe:2.3:a:node-tar_project:node-tar:0.1.12:*:*:*:*:*:*:*
  • cpe:2.3:a:node-tar_project:node-tar:0.1.13:*:*:*:*:*:*:*
    cpe:2.3:a:node-tar_project:node-tar:0.1.13:*:*:*:*:*:*:*
  • cpe:2.3:a:node-tar_project:node-tar:0.1.14:*:*:*:*:*:*:*
    cpe:2.3:a:node-tar_project:node-tar:0.1.14:*:*:*:*:*:*:*
  • cpe:2.3:a:node-tar_project:node-tar:0.1.15:*:*:*:*:*:*:*
    cpe:2.3:a:node-tar_project:node-tar:0.1.15:*:*:*:*:*:*:*
  • cpe:2.3:a:node-tar_project:node-tar:0.1.16:*:*:*:*:*:*:*
    cpe:2.3:a:node-tar_project:node-tar:0.1.16:*:*:*:*:*:*:*
  • cpe:2.3:a:node-tar_project:node-tar:0.1.17:*:*:*:*:*:*:*
    cpe:2.3:a:node-tar_project:node-tar:0.1.17:*:*:*:*:*:*:*
  • cpe:2.3:a:node-tar_project:node-tar:0.1.18:*:*:*:*:*:*:*
    cpe:2.3:a:node-tar_project:node-tar:0.1.18:*:*:*:*:*:*:*
  • cpe:2.3:a:node-tar_project:node-tar:0.1.19:*:*:*:*:*:*:*
    cpe:2.3:a:node-tar_project:node-tar:0.1.19:*:*:*:*:*:*:*
  • cpe:2.3:a:node-tar_project:node-tar:0.1.20:*:*:*:*:*:*:*
    cpe:2.3:a:node-tar_project:node-tar:0.1.20:*:*:*:*:*:*:*
  • cpe:2.3:a:node-tar_project:node-tar:1.0.0:*:*:*:*:*:*:*
    cpe:2.3:a:node-tar_project:node-tar:1.0.0:*:*:*:*:*:*:*
  • cpe:2.3:a:node-tar_project:node-tar:1.0.1:*:*:*:*:*:*:*
    cpe:2.3:a:node-tar_project:node-tar:1.0.1:*:*:*:*:*:*:*
  • cpe:2.3:a:node-tar_project:node-tar:1.0.2:*:*:*:*:*:*:*
    cpe:2.3:a:node-tar_project:node-tar:1.0.2:*:*:*:*:*:*:*
  • cpe:2.3:a:node-tar_project:node-tar:1.0.3:*:*:*:*:*:*:*
    cpe:2.3:a:node-tar_project:node-tar:1.0.3:*:*:*:*:*:*:*
  • cpe:2.3:a:node-tar_project:node-tar:2.0.0:*:*:*:*:*:*:*
    cpe:2.3:a:node-tar_project:node-tar:2.0.0:*:*:*:*:*:*:*
  • cpe:2.3:a:node-tar_project:node-tar:2.0.1:*:*:*:*:*:*:*
    cpe:2.3:a:node-tar_project:node-tar:2.0.1:*:*:*:*:*:*:*
  • cpe:2.3:a:node-tar_project:node-tar:2.1.0:*:*:*:*:*:*:*
    cpe:2.3:a:node-tar_project:node-tar:2.1.0:*:*:*:*:*:*:*
  • cpe:2.3:a:node-tar_project:node-tar:2.1.1:*:*:*:*:*:*:*
    cpe:2.3:a:node-tar_project:node-tar:2.1.1:*:*:*:*:*:*:*
  • cpe:2.3:a:node-tar_project:node-tar:2.2.1:*:*:*:*:*:*:*
    cpe:2.3:a:node-tar_project:node-tar:2.2.1:*:*:*:*:*:*:*
  • cpe:2.3:a:node-tar_project:node-tar:3.0.0:*:*:*:*:*:*:*
    cpe:2.3:a:node-tar_project:node-tar:3.0.0:*:*:*:*:*:*:*
  • cpe:2.3:a:node-tar_project:node-tar:3.0.1:*:*:*:*:*:*:*
    cpe:2.3:a:node-tar_project:node-tar:3.0.1:*:*:*:*:*:*:*
  • cpe:2.3:a:node-tar_project:node-tar:3.1.0:*:*:*:*:*:*:*
    cpe:2.3:a:node-tar_project:node-tar:3.1.0:*:*:*:*:*:*:*
  • cpe:2.3:a:node-tar_project:node-tar:3.1.1:*:*:*:*:*:*:*
    cpe:2.3:a:node-tar_project:node-tar:3.1.1:*:*:*:*:*:*:*
  • cpe:2.3:a:node-tar_project:node-tar:3.1.2:*:*:*:*:*:*:*
    cpe:2.3:a:node-tar_project:node-tar:3.1.2:*:*:*:*:*:*:*
  • cpe:2.3:a:node-tar_project:node-tar:3.1.3:*:*:*:*:*:*:*
    cpe:2.3:a:node-tar_project:node-tar:3.1.3:*:*:*:*:*:*:*
  • cpe:2.3:a:node-tar_project:node-tar:3.1.4:*:*:*:*:*:*:*
    cpe:2.3:a:node-tar_project:node-tar:3.1.4:*:*:*:*:*:*:*
  • cpe:2.3:a:node-tar_project:node-tar:3.1.5:*:*:*:*:*:*:*
    cpe:2.3:a:node-tar_project:node-tar:3.1.5:*:*:*:*:*:*:*
  • cpe:2.3:a:node-tar_project:node-tar:3.1.6:*:*:*:*:*:*:*
    cpe:2.3:a:node-tar_project:node-tar:3.1.6:*:*:*:*:*:*:*
  • cpe:2.3:a:node-tar_project:node-tar:3.1.7:*:*:*:*:*:*:*
    cpe:2.3:a:node-tar_project:node-tar:3.1.7:*:*:*:*:*:*:*
  • cpe:2.3:a:node-tar_project:node-tar:3.1.8:*:*:*:*:*:*:*
    cpe:2.3:a:node-tar_project:node-tar:3.1.8:*:*:*:*:*:*:*
  • cpe:2.3:a:node-tar_project:node-tar:3.1.9:*:*:*:*:*:*:*
    cpe:2.3:a:node-tar_project:node-tar:3.1.9:*:*:*:*:*:*:*
  • cpe:2.3:a:node-tar_project:node-tar:3.1.10:*:*:*:*:*:*:*
    cpe:2.3:a:node-tar_project:node-tar:3.1.10:*:*:*:*:*:*:*
  • cpe:2.3:a:node-tar_project:node-tar:3.1.11:*:*:*:*:*:*:*
    cpe:2.3:a:node-tar_project:node-tar:3.1.11:*:*:*:*:*:*:*
  • cpe:2.3:a:node-tar_project:node-tar:3.1.12:*:*:*:*:*:*:*
    cpe:2.3:a:node-tar_project:node-tar:3.1.12:*:*:*:*:*:*:*
  • cpe:2.3:a:node-tar_project:node-tar:3.1.13:*:*:*:*:*:*:*
    cpe:2.3:a:node-tar_project:node-tar:3.1.13:*:*:*:*:*:*:*
  • cpe:2.3:a:node-tar_project:node-tar:3.1.14:*:*:*:*:*:*:*
    cpe:2.3:a:node-tar_project:node-tar:3.1.14:*:*:*:*:*:*:*
  • cpe:2.3:a:node-tar_project:node-tar:3.1.15:*:*:*:*:*:*:*
    cpe:2.3:a:node-tar_project:node-tar:3.1.15:*:*:*:*:*:*:*
  • cpe:2.3:a:node-tar_project:node-tar:3.2.0:*:*:*:*:*:*:*
    cpe:2.3:a:node-tar_project:node-tar:3.2.0:*:*:*:*:*:*:*
  • cpe:2.3:a:node-tar_project:node-tar:3.2.1:*:*:*:*:*:*:*
    cpe:2.3:a:node-tar_project:node-tar:3.2.1:*:*:*:*:*:*:*
  • cpe:2.3:a:node-tar_project:node-tar:4.0.0:*:*:*:*:*:*:*
    cpe:2.3:a:node-tar_project:node-tar:4.0.0:*:*:*:*:*:*:*
  • cpe:2.3:a:node-tar_project:node-tar:4.0.1:*:*:*:*:*:*:*
    cpe:2.3:a:node-tar_project:node-tar:4.0.1:*:*:*:*:*:*:*
  • cpe:2.3:a:node-tar_project:node-tar:4.0.2:*:*:*:*:*:*:*
    cpe:2.3:a:node-tar_project:node-tar:4.0.2:*:*:*:*:*:*:*
  • cpe:2.3:a:node-tar_project:node-tar:4.1.0:*:*:*:*:*:*:*
    cpe:2.3:a:node-tar_project:node-tar:4.1.0:*:*:*:*:*:*:*
  • cpe:2.3:a:node-tar_project:node-tar:4.1.1:*:*:*:*:*:*:*
    cpe:2.3:a:node-tar_project:node-tar:4.1.1:*:*:*:*:*:*:*
  • cpe:2.3:a:node-tar_project:node-tar:4.1.2:*:*:*:*:*:*:*
    cpe:2.3:a:node-tar_project:node-tar:4.1.2:*:*:*:*:*:*:*
  • cpe:2.3:a:node-tar_project:node-tar:4.2.0:*:*:*:*:*:*:*
    cpe:2.3:a:node-tar_project:node-tar:4.2.0:*:*:*:*:*:*:*
  • cpe:2.3:a:node-tar_project:node-tar:4.3.0:*:*:*:*:*:*:*
    cpe:2.3:a:node-tar_project:node-tar:4.3.0:*:*:*:*:*:*:*
  • cpe:2.3:a:node-tar_project:node-tar:4.3.1:*:*:*:*:*:*:*
    cpe:2.3:a:node-tar_project:node-tar:4.3.1:*:*:*:*:*:*:*
  • cpe:2.3:a:node-tar_project:node-tar:4.3.2:*:*:*:*:*:*:*
    cpe:2.3:a:node-tar_project:node-tar:4.3.2:*:*:*:*:*:*:*
  • cpe:2.3:a:node-tar_project:node-tar:4.3.3:*:*:*:*:*:*:*
    cpe:2.3:a:node-tar_project:node-tar:4.3.3:*:*:*:*:*:*:*
  • cpe:2.3:a:node-tar_project:node-tar:4.4.0:*:*:*:*:*:*:*
    cpe:2.3:a:node-tar_project:node-tar:4.4.0:*:*:*:*:*:*:*
  • cpe:2.3:a:node-tar_project:node-tar:4.4.1:*:*:*:*:*:*:*
    cpe:2.3:a:node-tar_project:node-tar:4.4.1:*:*:*:*:*:*:*
CVSS
Base: 6.4 (as of 04-09-2019 - 20:15)
Impact:
Exploitability:
CWE CWE-59
CAPEC
  • Manipulating Web Input to File System Calls
    An attacker manipulates inputs to the target software which the target software passes to file system calls in the OS. The goal is to gain access to, and perhaps modify, areas of the file system that the target software did not intend to be accessible.
  • Leverage Executable Code in Non-Executable Files
    An attack of this type exploits a system's trust in configuration and resource files. When the executable loads the resource (such as an image file or configuration file) the attacker has modified the file to either execute malicious code directly or manipulate the target process (e.g. application server) to execute based on the malicious configuration parameters. Since systems are increasingly interrelated mashing up resources from local and remote sources the possibility of this attack occurring is high.
  • Using Malicious Files
    An attack of this type exploits a system's configuration that allows an attacker to either directly access an executable file, for example through shell access; or in a possible worst case allows an attacker to upload a file and then execute it. Web servers, ftp servers, and message oriented middleware systems which have many integration points are particularly vulnerable, because both the programmers and the administrators must be in synch regarding the interfaces and the correct privileges for each interface.
  • Symlink Attack
    An attacker positions a symbolic link in such a manner that the targeted user or application accesses the link's endpoint, assuming that it is accessing a file with the link's name. The endpoint file may be either output or input. If the file is output, the result is that the endpoint is modified, instead of a file at the intended location. Modifications to the endpoint file may include appending, overwriting, corrupting, changing permissions, or other modifications. In some variants of this attack the attacker may be able to control the change to a file while in other cases they cannot. The former is especially damaging since the attacker may be able to grant themselves increased privileges or insert false information, but the latter can also be damaging as it can expose sensitive information or corrupt or destroy vital system or application files. Alternatively, the endpoint file may serve as input to the targeted application. This can be used to feed malformed input into the target or to cause the target to process different information, possibly allowing the attacker to control the actions of the target or to cause the target to expose information to the attacker. Moreover, the actions taken on the endpoint file are undertaken with the permissions of the targeted user or application, which may exceed the permissions that the attacker would normally have.
Access
VectorComplexityAuthentication
NETWORK LOW NONE
Impact
ConfidentialityIntegrityAvailability
NONE PARTIAL PARTIAL
cvss-vector via4 AV:N/AC:L/Au:N/C:N/I:P/A:P
redhat via4
advisories
rhsa
id RHSA-2019:1821
rpms
  • rh-nodejs8-nodejs-0:8.16.0-1.el7
  • rh-nodejs8-nodejs-debuginfo-0:8.16.0-1.el7
  • rh-nodejs8-nodejs-devel-0:8.16.0-1.el7
  • rh-nodejs8-nodejs-docs-0:8.16.0-1.el7
  • rh-nodejs8-npm-0:6.4.1-8.16.0.1.el7
refmap via4
misc
Last major update 04-09-2019 - 20:15
Published 30-04-2019 - 19:29
Last modified 04-09-2019 - 20:15
Back to Top