---
cve: "CVE-2022-36067"
severity: "CRITICAL"
cvss: 10.0
epss: "47.9%"
vendor: "patriksimek"
kev: false
exploited: false
published: "2022-09-06 22:15:09"
tags: [cve, security, critical]
source: tsecurity.de CVE-Dossier
exported: "2026-10-23T21:58:17+02:00"
---

# CVE-2022-36067

> 10.0 CRITICAL · 🧪 PoC

## Beschreibung

vm2 is a sandbox that can run untrusted code with whitelisted Node's built-in modules. In versions prior to version 3.9.11, a threat actor can bypass the sandbox protections to gain remote code execution rights on the host running the sandbox. This vulnerability was patched in the release of version 3.9.11 of vm2. There are no known workarounds.

## CNA-Record (Kanon, cvelistV5)

- CNA: **GitHub_M**
- State: PUBLISHED
- Stand: 2025-04-22 17:24:29
- CNA-CVSS: **10.0** (`CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`)

## CISA-Anreicherung (vulnrichment/ADP)

- CISA-SSVC (Coordinator, v2.0.3):
  - Exploitation: **poc**
  - Automatable: **yes**
  - Technical Impact: **total**

## CVSS-Vektor

```
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
```

| Metrik | Wert | Bewertung |
|---|---|---|
| AV Angriffsvektor | Netzwerk | bad |
| AC Komplexität | Gering | bad |
| PR Privilegien | Keine | bad |
| UI Interaktion | Keine | bad |
| S Scope | Verändert | bad |
| C Vertraulichkeit | Hoch | bad |
| I Integrität | Hoch | bad |
| A Verfügbarkeit | Hoch | bad |

## Schwachstellen-Klasse

- **CWE-913** — Improper Control of Dynamically-Managed Code Resources
  The product does not properly restrict reading from or writing to dynamically-managed code resources such as variables, objects, classes, attributes, functions, or executable instructions or statements.

## Patch verfügbar (OSV)

- 392f126b18d5f6e1ea9300a2176707fc852da863 (Commit)
- d9a7f3cc995d3d861e1380eafb886cb3c5e2b873 (Commit)

## BSI-Hinweise (deutsch)

- [vm2: Mehrere Schwachstellen](https://wid.cert-bund.de/portal/wid/sicherheitshinweis/WID-SEC-W-2023-1004) — _BSI-Einstufung: hoch_
  Ein entfernter, anonymer Angreifer kann mehrere Schwachstellen in vm2 ausnutzen, um aus der Sandbox auszubrechen und beliebigen Code im Host-Kontext auszuführen.

## Referenzen

- <https://github.com/patriksimek/vm2/security/advisories/GHSA-mrgp-mrhc-5jrq>
- <https://github.com/patriksimek/vm2/issues/467>
- <https://github.com/patriksimek/vm2/commit/d9a7f3cc995d3d861e1380eafb886cb3c5e2b873#diff-b1a515a627d820118e76d0e323fe2f0589ed50a1eacb490f6c3278fe3698f164>
- <https://github.com/patriksimek/vm2/blob/master/lib/setup-sandbox.js#L71>
- <https://www.oxeye.io/blog/vm2-sandbreak-vulnerability-cve-2022-36067>
- <https://security.netapp.com/advisory/ntap-20221017-0002/>

---
_Exportiert aus dem [tsecurity.de CVE-Dossier](https://tsecurity.de/sicherheitsluecken/cve-2022-36067/) · Datenquellen: EUVD (ENISA), NVD, OSV, CISA KEV, FIRST EPSS, Exploit-DB, BSI WID (CSAF)_
