GHSA-6JG8-7333-554W
Vulnerability from github – Published: 2019-10-04 17:56 – Updated: 2021-09-02 16:40
VLAI?
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 ?
9.8 (Critical)
{
"affected": [
{
"package": {
"ecosystem": "npm",
"name": "realms-shim"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.2.0"
}
],
"type": "ECOSYSTEM"
}
]
},
{
"package": {
"ecosystem": "npm",
"name": "ses"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "0.6.3"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"aliases": [],
"database_specific": {
"cwe_ids": [],
"github_reviewed": true,
"github_reviewed_at": "2020-06-16T21:19:30Z",
"nvd_published_at": null,
"severity": "CRITICAL"
},
"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.\n\n\n## Recommendation\n\nUpgrade to version 1.2.0 or later.",
"id": "GHSA-6jg8-7333-554w",
"modified": "2021-09-02T16:40:48Z",
"published": "2019-10-04T17:56:12Z",
"references": [
{
"type": "WEB",
"url": "https://github.com/Agoric/realms-shim/security/advisories/GHSA-6jg8-7333-554w"
},
{
"type": "WEB",
"url": "https://github.com/Agoric/realms-shim"
},
{
"type": "ADVISORY",
"url": "https://github.com/advisories/GHSA-6jg8-7333-554w"
},
{
"type": "WEB",
"url": "https://snyk.io/vuln/SNYK-JS-REALMSSHIM-471680"
},
{
"type": "WEB",
"url": "https://www.npmjs.com/advisories/1180"
},
{
"type": "WEB",
"url": "https://www.npmjs.com/advisories/1181"
},
{
"type": "WEB",
"url": "https://www.npmjs.com/advisories/1182"
},
{
"type": "WEB",
"url": "https://www.npmjs.com/advisories/1190"
},
{
"type": "WEB",
"url": "https://www.npmjs.com/advisories/1191"
}
],
"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…