Vulnerability Name:

CVE-2017-16024 (CCN-145660)

Assigned:2017-04-15
Published:2017-04-15
Updated:2019-10-09
Summary: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.
CVSS v3 Severity:6.5 Medium (CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N)
5.7 Medium (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N/E:U/RL:U/RC:R)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): Low
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): None
Availibility (A): None
4.3 Medium (CCN CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N)
3.8 Low (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N/E:U/RL:U/RC:R)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): Low
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): Low
Integrity (I): None
Availibility (A): None
CVSS v2 Severity:4.0 Medium (CVSS v2 Vector: AV:N/AC:L/Au:S/C:P/I:N/A:N)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Authentication (Au): Single_Instance
Impact Metrics:Confidentiality (C): Partial
Integrity (I): None
Availibility (A): None
4.0 Medium (CCN CVSS v2 Vector: AV:N/AC:L/Au:S/C:P/I:N/A:N)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Athentication (Au): Single_Instance
Impact Metrics:Confidentiality (C): Partial
Integrity (I): None
Availibility (A): None
Vulnerability Type:CWE-200
Vulnerability Consequences:Obtain Information
References:Source: MITRE
Type: CNA
CVE-2017-16024

Source: MISC
Type: Third Party Advisory
https://cwe.mitre.org/data/definitions/377.html

Source: XF
Type: UNKNOWN
nodejs-cve201716024-info-disc(145660)

Source: MISC
Type: Issue Tracking, Third Party Advisory
https://github.com/gvarsanyi/sync-exec/issues/17

Source: CCN
Type: Node Security Web site
sync-exec

Source: MISC
Type: Third Party Advisory
https://nodesecurity.io/advisories/310

Source: MISC
Type: Third Party Advisory
https://www.owasp.org/index.php/Insecure_Temporary_File

Vulnerable Configuration:Configuration 1:
  • cpe:/a:sync-exec_project:sync-exec:*:*:*:*:*:node.js:*:* (Version <= 0.6.2)

  • Configuration 2:
  • cpe:/a:nodejs:node.js:*:*:*:*:*:*:*:* (Version < 0.11.9)

  • * Denotes that component is vulnerable
    BACK
    sync-exec_project sync-exec *
    nodejs node.js *