GHSA-6jg8-7333-554w
9.8critical
Sandbox Breakout in realms-shim
- Severity
- 9.8critical CVSS:3.1 by GitHub
- Published
- Last changed
Description
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.
Recommendation
Upgrade to version 1.2.0 or later.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| realms-shim (npm) | before 1.2.0 | GitHub Advisory Database |
| ses (npm) | before 0.6.3 | GitHub Advisory Database |
References
Sources
| Source | Record | Licence |
|---|---|---|
| GitHub Advisory Database | GHSA-6jg8-7333-554w changed 2021-09-02 | CC-BY-4.0 |