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.
References
Link | Resource |
---|---|
https://www.owasp.org/index.php/Insecure_Temporary_File | Third Party Advisory |
https://nodesecurity.io/advisories/310 | Third Party Advisory |
https://github.com/gvarsanyi/sync-exec/issues/17 | Issue Tracking Third Party Advisory |
https://cwe.mitre.org/data/definitions/377.html | Third Party Advisory |
Information
Published : 2018-06-04 12:29
Updated : 2019-10-09 16:24
NVD link : CVE-2017-16024
Mitre link : CVE-2017-16024
JSON object : View
CWE
CWE-200
Exposure of Sensitive Information to an Unauthorized Actor
Products Affected
nodejs
- node.js
sync-exec_project
- sync-exec