Remote code execution in vm2 for Node.js



Published: 2022-12-30
Risk High
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2021-23555
CWE-ID CWE-284
Exploitation vector Network
Public exploit N/A
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: #VU70543

Risk: High

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

CVE-ID: CVE-2021-23555

CWE-ID: CWE-284 - Improper Access Control

Exploit availability: No

Description

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

The vulnerability exists due to sandbox bypass via direct access to host error objects generated by node internals during generation of a stacktraces. A remote attacker can execute arbitrary code on the target system.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

vm2: 3.9.0 - 3.9.5

External links

http://snyk.io/vuln/SNYK-JS-VM2-2309905
http://github.com/patriksimek/vm2/commit/532120d5cdec7da8225fc6242e154ebabc63fe4d


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.



###SIDEBAR###