CVE-2017-16024
MEDIUM 6.5CVSS 3.0Tmp files readable by other users in sync-exec
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.
- Published
- 4 Jun 2018
- Last modified
- 17 Jun 2026
- Assigned by
- support@hackerone.com
- NVD status
- Modified
- Weakness
- CWE-200CWE-377
- Also known as
- GHSA-38h8-x697-gh8q
- Sources
- NVDJSONOSV GHSA-38h8-x697-gh8qJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | MEDIUM 6.5 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.0 | MEDIUM 6.5 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.0 | AV:N/AC:L/Au:S/C:P/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | sync-exec_project | sync-execcpe:2.3:a:sync-exec_project:sync-exec:*:*:*:*:*:node.js:*:* |
<= 0.6.2 | |
| NVD | nodejs | node.jscpe:2.3:a:nodejs:node.js:*:*:*:*:*:*:*:* |
< 0.11.9 | 0.11.9 |
| OSV | npm | sync-exec | <= 0.6.2 |
References
- https://cwe.mitre.org/data/definitions/377.html · Third Party Advisory, WEB
- https://github.com/gvarsanyi/sync-exec/issues/17 · Issue Tracking, Third Party Advisory, WEB
- https://nodesecurity.io/advisories/310 · Third Party Advisory
- https://www.owasp.org/index.php/Insecure_Temporary_File · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2017-16024 · ADVISORY
- https://github.com/advisories/GHSA-38h8-x697-gh8q · ADVISORY
- https://www.npmjs.com/advisories/310 · WEB
History
- 25 Nov 2026 20:21 UTC · NVD: first stored (published 4 Jun 2018)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 9 Nov 2018)