safer-eval
Affected
- introduced
0, fixed1.3.4(semver)
Fixed versions
1.3.4
Fix
- Fixed version
1.3.4npm install [email protected]
Advisory
Also known as: CVE-2019-10759, SNYK-JS-SAFEREVAL-173772
Sandbox Breakout / Arbitrary Code Execution in safer-eval
Versions of safer-eval prior to 1.3.4 are vulnerable to Sandbox Escape leading to Remote Code Execution. A payload using constructor properties can escape the sandbox and execute arbitrary code. For example, evaluating he string console.constructor.constructor('return process')().env prints process.env to the console.
Recommendation
Upgrade to version 1.3.4 or later.
Critical Basis: The source's own band: CRITICAL
0, fixed 1.3.4 (semver)1.3.4
1.3.4npm install [email protected]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
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0