Remote code execution in vm2 for Node.js



Published: 2022-09-13 | Updated: 2023-04-11
Risk High
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2022-36067
CWE-ID CWE-284
Exploitation vector Network
Public exploit Public exploit code for vulnerability #1 is available.
Vulnerable software
Subscribe
vm2
Web applications / Modules and components for CMS

Vendor Patrik Simek

Security Bulletin

This security bulletin contains one high risk vulnerability.

1) Improper access control

EUVDB-ID: #VU67205

Risk: High

CVSSv3.1: 9 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N/E:P/RL:O/RC:C]

CVE-ID: CVE-2022-36067

CWE-ID: CWE-284 - Improper Access Control

Exploit availability: Yes

Description

The vulnerability allows a remote attacker to compromise the affected system.

The vulnerability exists due to improper access restrictions. A remote attacker can bypass the sandbox protections and execute arbitrary code on the host running the sandbox.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

vm2: 3.9.0 - 3.9.10

External links

http://github.com/patriksimek/vm2/commit/d9a7f3cc995d3d861e1380eafb886cb3c5e2b873#diff-b1a515a627d820118e76d0e323fe2f0589ed50a1eacb490f6c3278fe3698f164
http://github.com/patriksimek/vm2/issues/467
http://github.com/patriksimek/vm2/blob/master/lib/setup-sandbox.js#L71
http://github.com/patriksimek/vm2/security/advisories/GHSA-mrgp-mrhc-5jrq


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability. However, proof of concept for this vulnerability is available.



###SIDEBAR###