Sandbreak
CVE-2022-36067 is a critical sandbox-escape vulnerability in the vm2 Node.js library, an open-source sandbox used to run untrusted JavaScript with restricted access to host resources. In affected versions prior to 3.9.11, a threat actor can bypass vm2 sandbox protections and escape the isolated execution context, resulting in remote code execution on the host running the sandbox. The provided content identifies this issue as a previously reported critical vm2 sandbox escape, codenamed "Sandbreak" by Oxeye researchers. Specific vulnerable functions or code paths are not provided in the supplied content.
Are you exposed to this one?
Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.
Impact, mitigation & remediation
What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Mitigation
If you can’t patch tonight, do this now.
Remediation
Patch, then assume compromise.
Exploits
1 valid exploit after Mallory filtered fakes, detection scripts, and README-only repos.
This repository provides a proof-of-concept exploit for CVE-2022-36067, a critical sandbox escape vulnerability in the vm2 Node.js module. The exploit leverages manipulation of the Error.prepareStackTrace property to break out of the vm2 sandbox and execute arbitrary OS commands via the child_process module. The main files are: - app.js: Demonstrates the exploit by running the payload in a vm2 VM context. - payload.js: Contains the actual payload code, which can be used to execute arbitrary commands by replacing the placeholder with the desired command. - package.json and package-lock.json: Define dependencies, notably vm2. To use the exploit, the attacker provides the payload (from payload.js) to a vulnerable application using vm2. If the application is vulnerable, arbitrary commands can be executed on the host. The exploit does not target a specific network endpoint but abuses the local Node.js environment. The repository is structured as a simple proof-of-concept for research and demonstration purposes.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.
Recent activity
3 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.
A previously disclosed vm2 sandbox escape vulnerability referenced as part of a history of similar issues.
A previously disclosed critical vm2 sandbox-escape vulnerability enabling command execution on the host system.
A critical remote code execution vulnerability in the vm2 JavaScript library, codenamed Sandbreak.
The version that knows your environment.
Query your assets running an affected version, and investigate the blast radius.
Every observed campaign linking this CVE to a named adversary.
Malware families riding this exploit, with evidence and IOCs.
YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Cross-references every affected SKU, including bundled OEM variants.
Community discussion across Reddit, Mastodon, and other social sources.