{"api_version":"1","generated_at":"2026-07-23T13:06:41+00:00","cve":"CVE-2019-10761","urls":{"html":"https://cve.report/CVE-2019-10761","api":"https://cve.report/api/cve/CVE-2019-10761.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2019-10761","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2019-10761"},"summary":{"title":"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.","state":"PUBLIC","assigner":"report@snyk.io","published_at":"2022-07-13 09:15:00","updated_at":"2022-07-21 10:38:00"},"problem_types":["CWE-674"],"metrics":[],"references":[{"url":"https://github.com/patriksimek/vm2/issues/197","name":"https://github.com/patriksimek/vm2/issues/197","refsource":"MISC","tags":[],"title":"Breakout in v3.6.10 via Maximum call stack size exceeded RangeError · Issue #197 · patriksimek/vm2 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://snyk.io/vuln/SNYK-JS-VM2-473188","name":"https://snyk.io/vuln/SNYK-JS-VM2-473188","refsource":"MISC","tags":[],"title":"Sandbox Bypass in vm2 | CVE-2019-10761 | Snyk","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/patriksimek/vm2/commit/4b22d704e4794af63a5a2d633385fd20948f6f90","name":"https://github.com/patriksimek/vm2/commit/4b22d704e4794af63a5a2d633385fd20948f6f90","refsource":"MISC","tags":[],"title":"Fixes sandbox escape (#197) · patriksimek/vm2@4b22d70 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2019-10761","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-10761","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[{"source":"LEGACY","value":"XmiliaH","lang":""}],"nvd_cpes":[{"cve_year":"2019","cve_id":"10761","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"vm2_project","cpe5":"vm2","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"node.js","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"data_type":"CVE","data_format":"MITRE","data_version":"4.0","CVE_data_meta":{"ASSIGNER":"report@snyk.io","DATE_PUBLIC":"2022-07-13T08:19:14.523524Z","ID":"CVE-2019-10761","STATE":"PUBLIC","TITLE":"Sandbox Bypass"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"vm2","version":{"version_data":[{"version_affected":"<","version_value":"3.6.11"}]}}]},"vendor_name":"n/a"}]}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"Sandbox Bypass"}]}]},"references":{"reference_data":[{"refsource":"MISC","url":"https://snyk.io/vuln/SNYK-JS-VM2-473188","name":"https://snyk.io/vuln/SNYK-JS-VM2-473188"},{"refsource":"MISC","url":"https://github.com/patriksimek/vm2/issues/197","name":"https://github.com/patriksimek/vm2/issues/197"},{"refsource":"MISC","url":"https://github.com/patriksimek/vm2/commit/4b22d704e4794af63a5a2d633385fd20948f6f90","name":"https://github.com/patriksimek/vm2/commit/4b22d704e4794af63a5a2d633385fd20948f6f90"}]},"description":{"description_data":[{"lang":"eng","value":"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."}]},"impact":{"cvss":{"version":"3.1","vectorString":"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","baseScore":8.3,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"CHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"LOW"}},"credit":[{"lang":"eng","value":"XmiliaH"}]},"nvd":{"publishedDate":"2022-07-13 09:15:00","lastModifiedDate":"2022-07-21 10:38:00","problem_types":["CWE-674"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"CHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"LOW","baseScore":8.3,"baseSeverity":"HIGH"},"exploitabilityScore":3.9,"impactScore":3.7}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:vm2_project:vm2:*:*:*:*:*:node.js:*:*","versionEndExcluding":"3.6.11","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2019","CveId":"10761","Ordinal":"149040","Title":"CVE-2019-10761","CVE":"CVE-2019-10761","Year":"2019"},"notes":[{"CveYear":"2019","CveId":"10761","Ordinal":"1","NoteData":"** RESERVED ** This candidate has been reserved by an organization or individual that will use it when announcing a new security problem. When the candidate has been publicized, the details for this candidate will be provided.","Type":"Description","Title":null}]}}}