Em resumo
- CVE-2023-37466 é uma vulnerabilidade CRÍTICO (CVSS 10.0) que afeta vm2 (vm2 project), vm2.
- Chance de exploração nos próximos 30 dias (EPSS): 3.9%, maior que 90.2% das vulnerabilidades.
- Correção: atualize para 3.10.0 ou posterior.
| Package | Affected versions | Patched versions |
|---|
| vm2 | ≤ 3.9.19
| No fix yet |
| vm2 npm | < 3.10.0
| 3.10.0
|
Description
In vm2 for versions up to 3.9.19, Promise handler sanitization can be bypassed, allowing attackers to escape the sandbox and run arbitrary code.
Impact
Remote Code Execution, assuming the attacker has arbitrary code execution primitive inside the context of vm2 sandbox.
Patches
None.
Workarounds
None.
References
PoC - https://gist.github.com/leesh3288/f693061e6523c97274ad5298eb2c74e9
For more information
If you have any questions or comments about this advisory:
Thanks to Xion (SeungHyun Lee) of KAIST Hacking Lab for disclosing this vulnerability.
NVD description
vm2 is an advanced vm/sandbox for Node.js. The library contains critical security issues and should not be used for production. The maintenance of the project has been discontinued. In vm2 for versions up to 3.9.19, `Promise` handler sanitization can be bypassed with the `@@species` accessor property allowing attackers to escape the sandbox and run arbitrary code, potentially allowing remote code execution inside the context of vm2 sandbox. Version 3.10.0 contains a patch for the issue.
Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free