{"id":"GHSA-jp99-5h8w-gmxc","aliases":[],"url":"https://o3.security/vulnerability/GHSA-jp99-5h8w-gmxc","summary":"Sandbox Breakout / Arbitrary Code Execution in @zhaoyao91/eval-in-vm","details":"All versions of `@zhaoyao91/eval-in-vm` are vulnerable to Sandbox Escape leading to Remote Code Execution. The package fails to restrict access to the main context through `this.constructor.constructor` . This may allow attackers to execute arbitrary code in the system. Evaluating the payload `this.constructor.constructor('return process.env')()` prints the contents of `process.env`.\n\n\n## Recommendation\n\nNo fix is currently available. Consider using an alternative package until a fix is made available.","published":"2020-09-04T15:03:13Z","modified":"2020-08-31T18:55:02Z","cvss":null,"epss":null,"cisaKev":null,"exploitsKnown":null,"affectedPackages":[{"ecosystem":"npm","name":"@zhaoyao91/eval-in-vm","fixedVersion":null}],"fix":null,"references":[{"type":"WEB","url":"https://www.npmjs.com/advisories/1320"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2020-08-31T18:55:02Z"}}