Advisory

GHSA-876r-hj45-fw7g

Also known as: None

Summary

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.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2020-09-03 21:18 UTC
Modified
2020-08-31 18:51 UTC

Affected packages and fixes

safer-eval

npm · All systems

Affected

  • introduced 0.0.0 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences