CVE-2021-23555
vm2: vulnerable to Sandbox Bypass
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, GHSA. Rated lower by Red Hat (medium).
Description
The package vm2 before 3.9.6 are vulnerable to Sandbox Bypass via direct access to host error objects generated by node internals during generation of a stacktraces, which can lead to execution of arbitrary code on the host machine.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| npm::GitHub Security Advisory npm | vm2 | 3.9.6 |
References
- https://access.redhat.com/security/cve/CVE-2021-23555
- https://github.com/patriksimek/vm2
- https://github.com/patriksimek/vm2/commit/532120d5cdec7da8225fc6242e154ebabc63fe4d
- https://nvd.nist.gov/vuln/detail/CVE-2021-23555
- https://security.snyk.io/vuln/SNYK-JS-VM2-2309905
- https://snyk.io/vuln/SNYK-JS-VM2-2309905
- https://www.cve.org/CVERecord?id=CVE-2021-23555