ghsa-wf5x-cr3r-xr77
Vulnerability from github
Published
2022-07-14 00:00
Modified
2022-07-22 16:32
Severity ?
VLAI Severity ?
Summary
vm2 before 3.6.11 vulnerable to sandbox escape
Details
This affects the package vm2 before 3.6.11. It is possible to trigger a RangeError exception from the host rather than the "sandboxed" context by reaching the stack call limit with an infinite recursion. The returned object is then used to reference the mainModule property of the host code running the script allowing it to spawn a child_process and execute arbitrary code.
{ "affected": [ { "package": { "ecosystem": "npm", "name": "vm2" }, "ranges": [ { "events": [ { "introduced": "0" }, { "fixed": "3.6.11" } ], "type": "ECOSYSTEM" } ] } ], "aliases": [ "CVE-2019-10761" ], "database_specific": { "cwe_ids": [ "CWE-674" ], "github_reviewed": true, "github_reviewed_at": "2022-07-15T18:36:08Z", "nvd_published_at": "2022-07-13T09:15:00Z", "severity": "HIGH" }, "details": "This affects the package vm2 before 3.6.11. It is possible to trigger a RangeError exception from the host rather than the \"sandboxed\" context by reaching the stack call limit with an infinite recursion. The returned object is then used to reference the mainModule property of the host code running the script allowing it to spawn a child_process and execute arbitrary code.", "id": "GHSA-wf5x-cr3r-xr77", "modified": "2022-07-22T16:32:45Z", "published": "2022-07-14T00:00:23Z", "references": [ { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2019-10761" }, { "type": "WEB", "url": "https://github.com/patriksimek/vm2/issues/197" }, { "type": "WEB", "url": "https://github.com/patriksimek/vm2/issues/197#issuecomment-480643832" }, { "type": "WEB", "url": "https://github.com/patriksimek/vm2/commit/4b22d704e4794af63a5a2d633385fd20948f6f90" }, { "type": "WEB", "url": "https://gist.github.com/JLLeitschuh/609bb2efaff22ed84fe182cf574c023a" }, { "type": "PACKAGE", "url": "https://github.com/patriksimek/vm2" }, { "type": "WEB", "url": "https://snyk.io/vuln/SNYK-JS-VM2-473188" } ], "schema_version": "1.4.0", "severity": [ { "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L", "type": "CVSS_V3" } ], "summary": "vm2 before 3.6.11 vulnerable to sandbox escape" }
Loading…
Loading…
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.
Loading…
Loading…