Link following in node-tar - CVE-2018-20834

 

Link following in node-tar - CVE-2018-20834

Published: January 30, 2023


Vulnerability identifier: #VU71631
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2018-20834
CWE-ID: CWE-59
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to compromise the affected system.

The vulnerability exists due to insecure following of hardlinks inside a tarball. A remote attacker can pass a specially crafted archive to the application and overwrite arbitrary files on the system.


Affected software

node-tar
IBM Planning Analytics Workspace
rh-nodejs8-nodejs (Red Hat package)

How to mitigate CVE-2018-20834

Install updates from vendor's website.

node-tar - addressed in versions 2.2.2, 4.4.2
IBM Planning Analytics Workspace - update to 2.0.83
rh-nodejs8-nodejs (Red Hat package) - update to 8.16.0-1.el7

External References

Related Security Bulletins