Sandbox Breakout / Arbitrary Code Execution in safer-eval
Résumé
Sandbox Breakout / Arbitrary Code Execution in safer-eval
Description d'origine
La description telle que publiée par la source (souvent en anglais).
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.
Source: OSV.dev (Open Source Vulnerabilities) NVD GitHub Advisory OSV
Paquets affectés
Références
- advisory nvd.nist.gov
- web snyk.io
- web npmjs.com