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.
References (4)
Core 4
Core References
Third Party Advisory x_refsource_misc
https://cwe.mitre.org/data/definitions/377.html
Third Party Advisory x_refsource_misc
https://www.owasp.org/index.php/Insecure_Temporary_File
Issue Tracking, Third Party Advisory x_refsource_misc
https://github.com/gvarsanyi/sync-exec/issues/17
Third Party Advisory x_refsource_misc
https://nodesecurity.io/advisories/310
Scores
CVSS v3
6.5
EPSS
0.0256
EPSS Percentile
83.0%
Attack Vector
NETWORK
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Details
CWE
CWE-377
CWE-200
Status
published
Products (3)
nodejs/node.js
< 0.11.9
npm/sync-exec
0npm
sync-exec_project/sync-exec
< 0.6.2
Published
Jun 04, 2018
Tracked Since
Feb 18, 2026