GHSA-6jg8-7333-554w
JSON

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 packageVersionsReported by
realms-shim (npm)before 1.2.0GitHub Advisory Database
ses (npm)before 0.6.3GitHub Advisory Database

References

Sources

SourceRecordLicence
GitHub Advisory DatabaseGHSA-6jg8-7333-554w changed 2021-09-02CC-BY-4.0