GitHub Advisory Database
GHSA-hgch-jjmr-gp7w
Sandbox Breakout / Arbitrary Code Execution in safer-eval
Details
Versions of safer-eval before 1.3.2 are vulnerable to Sandbox Escape leading to Remote Code Execution. A payload using constructor properties can escape the sandbox and execute arbitrary code.
Recommendation
Upgrade to version 1.3.2.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| npm | safer-eval | All versions before 1.3.2 (fixed in 1.3.2) |