GHSA-876r-hj45-fw7g
JSON

critical

Sandbox Breakout / Arbitrary Code Execution in safer-eval

Severity
critical rating by GitHub
Published
Last changed

Description

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.

Affected

Product or packageVersionsReported by
safer-eval (npm)from 0.0.0GitHub Advisory Database

References

Sources

SourceRecordLicence
GitHub Advisory DatabaseGHSA-876r-hj45-fw7g changed 2020-08-31CC-BY-4.0