{"id":"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.","modified":"2021-09-02T16:40:48Z","published":"2019-10-04T17:56:12Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2020-06-16T21:19:30Z","nvd_published_at":null,"cwe_ids":[],"severity":"CRITICAL"},"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"}],"affected":[{"package":{"name":"realms-shim","ecosystem":"npm","purl":"pkg:npm/realms-shim"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.2.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2019/10/GHSA-6jg8-7333-554w/GHSA-6jg8-7333-554w.json"}},{"package":{"name":"ses","ecosystem":"npm","purl":"pkg:npm/ses"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.6.3"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2019/10/GHSA-6jg8-7333-554w/GHSA-6jg8-7333-554w.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}