CVE-2019-10761
Sandbox Bypass
Severity Score
Exploit Likelihood
Affected Versions
Public Exploits
2Exploited in Wild
-Decision
Descriptions
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.
Esto afecta al paquete vm2 versiones anteriores a 3.6.11. Es posible desencadenar una excepción RangeError desde el host y no desde el contexto "sandboxed" alcanzando el límite de llamadas de la pila con una recursión infinita. El objeto devuelto se usa entonces para referenciar la propiedad mainModule del código del host que ejecuta el script permitiéndole generar un child_process y ejecutar código arbitrario
CVSS Scores
SSVC
- Decision:-
Timeline
- 2019-04-03 CVE Reserved
- 2019-04-07 First Exploit
- 2022-07-13 CVE Published
- 2024-09-16 CVE Updated
- 2024-10-04 EPSS Updated
- ---------- Exploited in Wild
- ---------- KEV Due Date
CWE
- CWE-674: Uncontrolled Recursion
CAPEC
References (4)
URL | Tag | Source |
---|---|---|
https://snyk.io/vuln/SNYK-JS-VM2-473188 | Third Party Advisory |
URL | Date | SRC |
---|---|---|
https://github.com/ossf-cve-benchmark/CVE-2019-10761 | 2019-04-07 | |
https://github.com/patriksimek/vm2/issues/197 | 2024-09-16 |
URL | Date | SRC |
---|---|---|
https://github.com/patriksimek/vm2/commit/4b22d704e4794af63a5a2d633385fd20948f6f90 | 2022-07-21 |
URL | Date | SRC |
---|
Affected Vendors, Products, and Versions
Vendor | Product | Version | Other | Status | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Vendor | Product | Version | Other | Status | <-- --> | Vendor | Product | Version | Other | Status |
Vm2 Project Search vendor "Vm2 Project" | Vm2 Search vendor "Vm2 Project" for product "Vm2" | < 3.6.11 Search vendor "Vm2 Project" for product "Vm2" and version " < 3.6.11" | node.js |
Affected
|