1. CVE archive
  2. 2017
  3. CVE-2017-16088

CVE-2017-16088

10 Critical severity CVSS v3.0 · source NVD CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H 10 – Critical

Description

The safe-eval module describes itself as a safer version of eval. By accessing the object constructors, un-sanitized user input can access the entire standard library and effectively break out of the sandbox.

Affected products

VendorProductVersionPlatform
safe-eval project safe-eval 0.0.0 node.js
safe-eval project safe-eval 0.1.0 node.js
safe-eval project safe-eval 0.2.0 node.js
safe-eval project safe-eval 0.3.0 node.js

Vulnerability type

CWE-610 Externally Controlled Reference to a Resource in Another Sphere

The product uses an externally controlled name or reference that resolves to a resource that is outside of the intended control sphere.

Impact on systems

ScopeImpact
Confidentiality, Integrity Read Application Data, Modify Application Data
An adversary could read or modify data, depending on how the resource is intended to be used.
Access Control Gain Privileges or Assume Identity
An adversary that can supply a reference to an unintended resource can potentially access a resource that they do not have privileges for, thus bypassing existing access control mechanisms.

All 228 CWE-610 CVEs, with trend and prevention

Source: MITRE CWE catalog · cwe.mitre.org