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.
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.
| Vendor | Product | Version | Platform |
|---|---|---|---|
| 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 |
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.
| Scope | Impact |
|---|---|
| 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