SecurityContext

CVE-2017-16024: Node.js sync-exec - Information Disclosure

  • Cve: CVE-2017-16024
  • Name: Node.js sync-exec - Information Disclosure
  • 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.
  • Impact: Unauthorized users can access sensitive information stored in temporary files, leading to information disclosure.
  • Remediation: Update to Node.js version 0.11.9 or later, or replace sync-exec with a more secure alternative.
  • Vulnerability impact: information_disclosure
  • Requirement type: logged_in
  • Requirements: Attacker needs access to server with read permissions on tmp directory
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 6.5
  • Cvss vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
  • Epss score: 0.02471
  • Epss percentile: 0.84921
  • Assignee: [email protected]
  • Published at: 2018-06-04T19:29:01Z
  • Age in days: 3095
  • Modified at: 2026-06-17T01:08:39Z
  • Patch available: yes
  • References total: 4
  • Products total: 2
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2017-16024
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: vulnerability type, hackerone

Cwe

IdName
CWE-377DEPRECATED: Insecure Temporary File
CWE-200Exposure of Sensitive Information to an Unauthorized Actor

References

Same in every row:

  • Source: nvd
UrlTags
https://cwe.mitre.org/data/definitions/377.htmlThird Party Advisory
https://github.com/gvarsanyi/sync-exec/issues/17Issue Tracking, Third Party Advisory
https://nodesecurity.io/advisories/310Third Party Advisory
https://www.owasp.org/index.php/Insecure_Temporary_FileThird Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
sync-exec_project:sync-exec<= 0.6.2nonvd/v1/products/sync-exec_project/sync-exec
nodejs:node.js< 0.11.9nonvd/v1/products/nodejs/node.js

Projects

RepositoryLink kindsIndexedUrl
gvarsanyi/sync-execissuesyes/v1/repositories/gvarsanyi/sync-exec

Index

  • Repositories: 1
  • Packages: 1
  • Checked, none or zero: repositories high signal

Exploitation

  • Remote: yes
  • Authentication required: yes
  • Exposed hosts: 3528253
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports