Information disclosure in Node.js - CVE-2017-16024

 

Information disclosure in Node.js - CVE-2017-16024

Published: June 4, 2018 / Updated: July 17, 2020


Vulnerability identifier: #VU31290
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2017-16024
CWE-ID: CWE-200
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Node.js Foundation
Affected software:
Node.js

Detailed vulnerability description

The vulnerability allows a remote authenticated user to gain access to sensitive information.

The sync-exec module is used to simulate child_process.execSync in node versions <0.11.9. Sync-exec uses tmp directories as a buffer before returning values. Other users on the server have read access to the tmp directory, possibly allowing an attacker on the server to obtain confidential information from the buffer/tmp file, while it exists.


How to mitigate CVE-2017-16024

Install update from vendor's website.

Sources