CVE-2017-16024
Sync-exec Project Sync-exec vulnerability
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
Sync-exec, Node.js. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Sync-exec Project Sync-exec runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- cwe.mitre.org/data/definitions/377.html · Third Party Advisory
- github.com/gvarsanyi/sync-exec/issues/17 · Third Party Advisory
- nodesecurity.io/advisories/310 · Third Party Advisory
- www.owasp.org/index.php/Insecure_Temporary_File · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2017-16024
- cve.org/CVERecord?id=CVE-2017-16024
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.