QID 983421
QID 983421: Nodejs (npm) Security Update for sync-exec (GHSA-38h8-x697-gh8q)
Affected versions of `sync-exec` use files located in `/tmp/` to buffer command results before returning values. As `/tmp/` is almost always set with world readable permissions, this may allow low privilege users on the system to read the results of commands run via `sync-exec` under a higher privilege user.
## Recommendation
There is currently no direct patch for `sync-exec`, as the `child_process.execSync` function provided in Node.js v0.12.0 and later provides the same functionality natively.
The best mitigation currently is to update to Node.js v0.12.0 or later, and migrate all uses of `sync-exec` to `child_process.execSync()`.
Successful exploitation of this vulnerability may affect the confidentiality, integrity, and availability of the targeted user.
- GHSA-38h8-x697-gh8q -
github.com/advisories/GHSA-38h8-x697-gh8q
CVEs related to QID 983421
| Advisory ID | Software | Component | Link |
|---|---|---|---|
| GHSA-38h8-x697-gh8q | sync-exec |
|