Multiple vulnerabilities in vm2 for Node.js



Published: 2023-05-25
Risk High
Patch available YES
Number of vulnerabilities 2
CVE-ID CVE-2023-32313
CVE-2023-32314
CWE-ID CWE-254
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 information about 2 vulnerabilities.

1) Security features bypass

EUVDB-ID: #VU76528

Risk: Medium

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

CVE-ID: CVE-2023-32313

CWE-ID: CWE-254 - Security Features

Exploit availability: No

Description

The vulnerability allows a remote attacker to bypass implemented security restrictions.

The vulnerability exists due to the possibility to get a read-write reference to the node `inspect` method and edit options for `console.log`. A remote attacker can edit options for the `console.log` command.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

vm2: 3.9.0 - 3.9.17

External links

http://github.com/patriksimek/vm2/commit/5206ba25afd86ef547a2c9d48d46ca7a9e6ec238
http://gist.github.com/arkark/c1c57eaf3e0a649af1a70c2b93b17550
http://github.com/patriksimek/vm2/releases/tag/3.9.18
http://github.com/patriksimek/vm2/security/advisories/GHSA-p5gc-c584-jj6v


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.

2) Security features bypass

EUVDB-ID: #VU76527

Risk: High

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

CVE-ID: CVE-2023-32314

CWE-ID: CWE-254 - Security Features

Exploit availability: No

Description

The vulnerability allows a remote attacker to bypass implemented security restrictions.

The vulnerability exists due to an unexpected creation of a host object based on the specification of `Proxy`. A remote attacker can escape sandbox restrictions and gain remote code execution rights on the host.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

vm2: 3.9.0 - 3.9.17

External links

http://gist.github.com/arkark/e9f5cf5782dec8321095be3e52acf5ac
http://github.com/patriksimek/vm2/security/advisories/GHSA-whpj-8f3w-67p5
http://github.com/patriksimek/vm2/releases/tag/3.9.18
http://github.com/patriksimek/vm2/commit/d88105f99752305c5b8a77b63ddee3ec86912daf


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###