vm2 up to 3.9.14 Error.prepareStackTrace dynamically-managed code resources
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 9.2 | $0-$5k | 0.00 |
Summary
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.
Details
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.
Product
Name
Version
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 9.3VulDB 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.): 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
Exploiting
Class: Dynamically-managed code resourcesCWE: 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-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: vm2 3.9.15
Patch: d534e5785f38307b70d3aac1945260a261a94d50
Timeline
03/29/2023 🔍04/07/2023 🔍
04/07/2023 🔍
04/23/2023 🔍
Sources
Advisory: 515Status: Confirmed
CVE: CVE-2023-29017 (🔍)
GCVE (CVE): GCVE-0-2023-29017
GCVE (VulDB): GCVE-100-225163
Entry
Created: 04/07/2023 08:05Updated: 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.
No comments yet. Languages: en.
Please log in to comment.