CVE-2017-16088
Sandbox Breakout in safe-eval
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, GHSA.
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 packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| npm::GitHub Security Advisory npm | safe-eval | no fix listed |
References
- https://github.com/advisories/GHSA-ww6v-677g-p656
- https://github.com/hacksparrow/safe-eval/issues/5
- https://github.com/hacksparrow/safe-eval/pull/13
- https://github.com/patriksimek/vm2/issues/59
- https://nodesecurity.io/advisories/337
- https://nvd.nist.gov/vuln/detail/CVE-2017-16088
- https://www.npmjs.com/advisories/337