What’s Vulnerable › Vulnerabilities
CVE-2017-16024
- Severity: medium (CVSS 6.5 v3.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 2.5% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2018-06-04 · updated 2026-06-17
- Weakness: CWE-377
Description
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.
Affected products
- Node.js: before 0.11.9 — fixed in 0.11.9
- Sync-Exec Project Sync-Exec: through 0.6.2
How to fix
Upgrade to a fixed version: Node.js 0.11.9. Check the vendor advisory for mitigations.
References
- https://cwe.mitre.org/data/definitions/377.html
- https://github.com/gvarsanyi/sync-exec/issues/17
- https://nodesecurity.io/advisories/310
- https://www.owasp.org/index.php/Insecure_Temporary_File
- https://cwe.mitre.org/data/definitions/377.html
- https://github.com/gvarsanyi/sync-exec/issues/17
- https://nodesecurity.io/advisories/310
- https://www.owasp.org/index.php/Insecure_Temporary_File
Get alerted when CVE-2017-16024 or the next vulnerability affects your stack