GHSA-7CG8-PQ9V-X98Q
Vulnerability from github – Published: 2019-10-21 21:58 – Updated: 2021-09-02 21:14
VLAI?
Summary
Sandbox Breakout in realms-shim
Details
Versions of realms-shim prior to 1.2.1 are vulnerable to a Sandbox Breakout. The Realms evaluation function has an option to apply Babel-like transformations to the source code before it reaches the evaluator. One portion of this transform pipeline exposed a primal-Realm object to the rewriting function. Confined code which used the evaluator itself could provide a malicious rewriter function that captured this object, and use it to breach the sandbox.
Recommendation
Upgrade to version 1.2.1 or later.
Severity ?
9.8 (Critical)
{
"affected": [
{
"package": {
"ecosystem": "npm",
"name": "realms-shim"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.2.1"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"aliases": [],
"database_specific": {
"cwe_ids": [],
"github_reviewed": true,
"github_reviewed_at": "2020-06-16T21:22:25Z",
"nvd_published_at": null,
"severity": "CRITICAL"
},
"details": "Versions of `realms-shim` prior to 1.2.1 are vulnerable to a Sandbox Breakout. The Realms evaluation function has an option to apply Babel-like transformations to the source code before it reaches the evaluator. One portion of this transform pipeline exposed a primal-Realm object to the rewriting function. Confined code which used the evaluator itself could provide a malicious rewriter function that captured this object, and use it to breach the sandbox.\n\n\n## Recommendation\n\nUpgrade to version 1.2.1 or later.",
"id": "GHSA-7cg8-pq9v-x98q",
"modified": "2021-09-02T21:14:19Z",
"published": "2019-10-21T21:58:55Z",
"references": [
{
"type": "WEB",
"url": "https://github.com/Agoric/realms-shim/security/advisories/GHSA-7cg8-pq9v-x98q"
},
{
"type": "PACKAGE",
"url": "https://github.com/Agoric/realms-shim"
},
{
"type": "ADVISORY",
"url": "https://github.com/advisories/GHSA-7cg8-pq9v-x98q"
},
{
"type": "WEB",
"url": "https://snyk.io/vuln/SNYK-JS-REALMSSHIM-536069"
},
{
"type": "WEB",
"url": "https://www.npmjs.com/advisories/1218"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
}
],
"summary": "Sandbox Breakout in realms-shim"
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…