Npm · Safe-Eval · CVE-2017-16088
Name of the Vulnerable Software and Affected Versions:
safe-eval versions prior to 0.4.0
Description:
The issue allows un-sanitized user input to access the entire standard library by accessing object constructors, effectively breaking out of the sandbox. This can be achieved by exploiting the `safe-eval` module, which is intended to be a safer version of eval.
Recommendations:
For versions prior to 0.4.0, update to version 0.4.0 or later. As a temporary workaround, consider restricting the use of the `safe-eval` module until the issue is resolved. Avoid using un-sanitized user input in the `safe-eval` function to minimize the risk of exploitation.