VDB
Sign up
CRITICAL

GHSA-876r-hj45-fw7g

Sandbox Breakout / Arbitrary Code Execution in safer-eval

Details

All versions of `safer-eval` are vulnerable to Sandbox Escape leading to Remote Code Execution. It is possible to escape the sandbox by forcing exceptions recursively in the evaluated code. This may allow attacker to execute arbitrary code in the system.

## Recommendation

The package is not suited to receive arbitrary user input. Consider using an alternative package.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm/safer-eval
Introduced in: 0.0.0

No fixed version published yet for safer-eval (npm). Pin to a known-safe version or switch to an alternative.

References