Sandbox Breakout / Arbitrary Code Execution in safer-eval
Critical severity
GitHub Reviewed
Published
Dec 6, 2019
in
commenthol/safer-eval
•
Updated Feb 1, 2023
Description
Published by the National Vulnerability Database
Dec 6, 2019
Published to the GitHub Advisory Database
Dec 11, 2019
Reviewed
Jun 16, 2020
Last updated
Feb 1, 2023
All versions of
safer-eval
are vulnerable to Sandbox Escape leading to Remote Code Execution. The package fails to restrict access to the main context and is not suited to process arbitrary user input. This may allow attackers to execute arbitrary code in the system.Recommendation
The package is not meant to receive user input. Consider using an alternative package until a fix is made available.
References