Critical
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-23555
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 11:40 UTC · Revision 1
Source evidence
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.
osv:CVE-2021-23555
Complete source record
{
"id": "ee4db1ee98bb5b6dfcebe1b5a79693a763c3e9620c16b13947165c005d71c3b6",
"url": "https://osv.dev/vulnerability/CVE-2021-23555",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2021-23555",
"summary": "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.",
"evidence": "osv:CVE-2021-23555",
"products": [],
"severity": "critical",
"structured": {
"id": "CVE-2021-23555",
"aliases": [
"CVE-2021-23555",
"GHSA-6pw2-5hjv-9pf7",
"SNYK-JS-VM2-2309905"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/patriksimek/vm2",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "532120d5cdec7da8225fc6242e154ebabc63fe4d"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:vm2_project:vm2:*:*:*:*:*:node.js:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "3.9.6"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "532120d5cdec7da8225fc6242e154ebabc63fe4d"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"3.9.5",
"3.9.4",
"3.9.3",
"v3.9.2",
"v3.9.1",
"v3.9.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-23555.json"
}
}
],
"modified": "2026-10-20T10:54:32.408160131Z",
"provider": "osv",
"references": [
"https://github.com/patriksimek/vm2/commit/532120d5cdec7da8225fc6242e154ebabc63fe4d",
"https://snyk.io/vuln/SNYK-JS-VM2-2309905"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2021-23555",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 385515,
"published_at": "2022-02-11T20:15:07.44+00:00"
}