{"id":"EUVD-2022-6434","enisaUuid":"d3f576fd-c759-3646-9511-7bc8779c54fe","description":"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.","datePublished":"Jul 13, 2022, 8:20:14 AM","dateUpdated":"Sep 16, 2024, 4:28:51 PM","baseScore":8.3,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L/E:P/RL:O/RC:C","references":"https://snyk.io/vuln/SNYK-JS-VM2-473188\nhttps://github.com/patriksimek/vm2/issues/197\nhttps://github.com/patriksimek/vm2/commit/4b22d704e4794af63a5a2d633385fd20948f6f90\n","aliases":"CVE-2019-10761\nGHSA-wf5x-cr3r-xr77\n","assigner":"snyk","epss":1.33,"enisaIdProduct":[{"id":"ad0f6f0a-d731-3348-8b61-cc9a9efa2be0","product":{"name":"vm2","vendor":{"name":"patriksimek"}},"product_version":"unspecified \u003c3.6.11"}],"enisaIdVendor":[{"id":"408ab9a8-b15e-3703-bb9c-37dfa459d00f","vendor":{"name":"n/a"}}],"enisaIdVulnerability":[{"id":"2111d899-2052-395b-a6e5-e66c4e197d01","vulnerability":{"id":"GHSA-wf5x-cr3r-xr77","description":"vm2 before 3.6.11 vulnerable to sandbox escape","datePublished":"Jul 14, 2022, 12:00:23 AM","dateUpdated":"Jul 22, 2022, 4:32:45 PM","baseScore":null,"references":"https://nvd.nist.gov/vuln/detail/CVE-2019-10761\nhttps://github.com/patriksimek/vm2/issues/197\nhttps://github.com/patriksimek/vm2/issues/197#issuecomment-480643832\nhttps://github.com/patriksimek/vm2/commit/4b22d704e4794af63a5a2d633385fd20948f6f90\nhttps://gist.github.com/JLLeitschuh/609bb2efaff22ed84fe182cf574c023a\nhttps://github.com/patriksimek/vm2\nhttps://snyk.io/vuln/SNYK-JS-VM2-473188\n","enisa_id":"EUVD-2022-6434\n","aliases":"GHSA-wf5x-cr3r-xr77\nCVE-2019-10761\n","epss":0.0,"dataProcessed":"Nov 15, 2026, 2:29:49 AM","vulnerabilityProduct":[],"vulnerabilityVendor":[]}},{"id":"bb7db06d-8915-3f2d-82b8-bac69e1078fc","vulnerability":{"id":"CVE-2019-10761","description":"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.","datePublished":"Jul 13, 2022, 8:20:14 AM","dateUpdated":"Sep 16, 2024, 4:28:51 PM","status":"PUBLISHED","baseScore":8.3,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L/E:P/RL:O/RC:C","references":"https://snyk.io/vuln/SNYK-JS-VM2-473188\nhttps://github.com/patriksimek/vm2/issues/197\nhttps://github.com/patriksimek/vm2/commit/4b22d704e4794af63a5a2d633385fd20948f6f90\n","enisa_id":"EUVD-2022-6434\n","assigner":"snyk","epss":1.33,"dataProcessed":"Nov 15, 2026, 7:21:05 AM","vulnerabilityProduct":[{"id":"38b68fc1-6cfb-3089-8570-4c1f1545387d","product":{"name":"vm2","vendor":{"name":"patriksimek"}},"product_version":"unspecified \u003c3.6.11"}],"vulnerabilityVendor":[{"id":"175bedb6-b3ce-32e0-bc37-4d6a85676734","vendor":{"name":"n/a"}}]}}],"enisaIdAdvisory":[]}