{"id":"GHSA-6jg8-7333-554w","aliases":[],"url":"https://o3.security/vulnerability/GHSA-6jg8-7333-554w","summary":"Sandbox Breakout in realms-shim","details":"Versions of `realms-shim` prior to 1.2.0 are vulnerable to a Sandbox Breakout. `Reflect.construct` can be used on the sandboxed Function constructor to reach the prototypes of the primal Realm, which may allow an attacker to escape the sandbox and execute arbitrary code.\n\n\n## Recommendation\n\nUpgrade to version 1.2.0 or later.","published":"2019-10-04T17:56:12Z","modified":"2021-09-02T16:40:48Z","cvss":{"score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"npm","name":"realms-shim","fixedVersion":"1.2.0"},{"ecosystem":"npm","name":"ses","fixedVersion":"0.6.3"}],"fix":null,"references":[{"type":"WEB","url":"https://github.com/Agoric/realms-shim/security/advisories/GHSA-6jg8-7333-554w"},{"type":"WEB","url":"https://github.com/Agoric/realms-shim"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-6jg8-7333-554w"},{"type":"WEB","url":"https://snyk.io/vuln/SNYK-JS-REALMSSHIM-471680"},{"type":"WEB","url":"https://www.npmjs.com/advisories/1180"},{"type":"WEB","url":"https://www.npmjs.com/advisories/1181"},{"type":"WEB","url":"https://www.npmjs.com/advisories/1182"},{"type":"WEB","url":"https://www.npmjs.com/advisories/1190"},{"type":"WEB","url":"https://www.npmjs.com/advisories/1191"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2021-09-02T16:40:48Z"}}