Vulnerabilities/

Sandbox Breakout in realms-shim - realms-shim

Severity:
High

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

Update the realms-shim package to the latest compatible version. Followings are version details:

References

Related Issues

Tags:
npm
realms-shim
Anything's wrong? Let us know Last updated on January 09, 2023