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 product uses an externally controlled name or reference that resolves to a resource that is outside of the intended control sphere.
Link | Tags |
---|---|
https://github.com/patriksimek/vm2/issues/59 | third party advisory |
https://github.com/hacksparrow/safe-eval/issues/5 | third party advisory |
https://nodesecurity.io/advisories/337 | third party advisory |