safe-eval vulnerable to Sandbox Bypass due to improper input sanitization
Critical severity
GitHub Reviewed
Published
Apr 11, 2023
to the GitHub Advisory Database
•
Updated Apr 19, 2023
Description
Published by the National Vulnerability Database
Apr 11, 2023
Published to the GitHub Advisory Database
Apr 11, 2023
Reviewed
Apr 11, 2023
Last updated
Apr 19, 2023
All versions of the package safe-eval are vulnerable to Sandbox Bypass due to improper input sanitization. The vulnerability is derived from prototype pollution exploitation. Exploiting this vulnerability might result in remote code execution (RCE).
Vulnerable functions:
defineGetter, stack(), toLocaleString(), propertyIsEnumerable.call(), valueOf().
References