Advisory

GHSA-6jg8-7333-554w

Also known as: None

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.

Recommendation

Upgrade to version 1.2.0 or later.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2019-10-04 17:56 UTC
Modified
2021-09-02 16:40 UTC

Affected packages and fixes

realms-shim

npm · All systems

Affected

  • introduced 0, fixed 1.2.0 (semver)

Fixed versions

1.2.0

Fix

ses

npm · All systems

Affected

  • introduced 0, fixed 0.6.3 (semver)

Fixed versions

0.6.3

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences