In breve
- CVE-2023-37466 è una vulnerabilità CRITICO (CVSS 10.0) che riguarda vm2 (vm2 project), vm2.
- Probabilità di sfruttamento nei prossimi 30 giorni (EPSS): 3.9%, superiore al 90.2% delle vulnerabilità.
- Correzione: aggiornare a 3.10.0 o successiva.
| 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