vm2 up to 3.9.14 Error.prepareStackTrace dynamically-managed code resources

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
9.2$0-$5k0.00

Summaryinfo

A vulnerability, which was classified as critical, has been found in vm2 up to 3.9.14. This issue affects the function Error.prepareStackTrace. This manipulation causes dynamically-managed code resources. This vulnerability appears as CVE-2023-29017. The attack may be initiated remotely. There is no available exploit. It is advisable to upgrade the affected component.

Detailsinfo

A vulnerability classified as critical was found in vm2 up to 3.9.14. Affected by this vulnerability is the function Error.prepareStackTrace. The manipulation with an unknown input leads to a dynamically-managed code resources vulnerability. The CWE definition for the vulnerability is CWE-913. 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. As an impact it is known to affect confidentiality, integrity, and availability. The summary by CVE is:

vm2 is a sandbox that can run untrusted code with whitelisted Node's built-in modules. Prior to version 3.9.15, vm2 was not properly handling host objects passed to `Error.prepareStackTrace` in case of unhandled async errors. A threat actor could 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.15 of vm2. There are no known workarounds.

The weakness was presented 04/07/2023 as 515. It is possible to read the advisory at github.com. This vulnerability is known as CVE-2023-29017 since 03/29/2023. Technical details of the vulnerability are known, but there is no available exploit.

Upgrading to version 3.9.15 eliminates this vulnerability. Applying the patch d534e5785f38307b70d3aac1945260a261a94d50 is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version.

Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.

Productinfo

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 9.3
VulDB Meta Temp Score: 9.2

VulDB Base Score: 8.1
VulDB Temp Score: 7.7
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 9.8
NVD Vector: 🔍

CNA Base Score: 10.0
CNA Vector (GitHub, Inc.): 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

Exploitinginfo

Class: Dynamically-managed code resources
CWE: CWE-913
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Upgrade: vm2 3.9.15
Patch: d534e5785f38307b70d3aac1945260a261a94d50

Timelineinfo

03/29/2023 🔍
04/07/2023 +9 days 🔍
04/07/2023 +0 days 🔍
04/23/2023 +16 days 🔍

Sourcesinfo

Advisory: 515
Status: Confirmed

CVE: CVE-2023-29017 (🔍)
GCVE (CVE): GCVE-0-2023-29017
GCVE (VulDB): GCVE-100-225163

Entryinfo

Created: 04/07/2023 08:05
Updated: 04/23/2023 16:32
Changes: 04/07/2023 08:05 (51), 04/23/2023 16:32 (11)
Complete: 🔍
Cache ID: 216::103

Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you know our Splunk app?

Download it now for free!