Logo
-

Byte Open Security

(ByteOS Network)

Log In

Sign Up

ByteOS

Security
Vulnerability Details
Registries
Custom Views
Weaknesses
Attack Patterns
Filters & Tools
Vulnerability Details :

CVE-2023-29017

Summary
Assigner-GitHub_M
Assigner Org ID-a0819718-46f1-4df5-94e2-005712e83aaa
Published At-06 Apr, 2023 | 19:18
Updated At-10 Feb, 2025 | 16:10
Rejected At-
Credits

vm2 Sandbox Escape vulnerability

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.

Vendors
-
Not available
Products
-
Metrics (CVSS)
VersionBase scoreBase severityVector
Weaknesses
Attack Patterns
Solution/Workaround
References
HyperlinkResource Type
EPSS History
Score
Latest Score
-
N/A
No data available for selected date range
Percentile
Latest Percentile
-
N/A
No data available for selected date range
Stakeholder-Specific Vulnerability Categorization (SSVC)
▼Common Vulnerabilities and Exposures (CVE)
cve.org
Assigner:GitHub_M
Assigner Org ID:a0819718-46f1-4df5-94e2-005712e83aaa
Published At:06 Apr, 2023 | 19:18
Updated At:10 Feb, 2025 | 16:10
Rejected At:
▼CVE Numbering Authority (CNA)
vm2 Sandbox Escape vulnerability

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.

Affected Products
Vendor
patriksimek
Product
vm2
Versions
Affected
  • < 3.9.15
Problem Types
TypeCWE IDDescription
CWECWE-913CWE-913: Improper Control of Dynamically-Managed Code Resources
Type: CWE
CWE ID: CWE-913
Description: CWE-913: Improper Control of Dynamically-Managed Code Resources
Metrics
VersionBase scoreBase severityVector
3.110.0CRITICAL
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Version: 3.1
Base score: 10.0
Base severity: CRITICAL
Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Metrics Other Info
Impacts
CAPEC IDDescription
Solutions

Configurations

Workarounds

Exploits

Credits

Timeline
EventDate
Replaced By

Rejected Reason

References
HyperlinkResource
https://github.com/patriksimek/vm2/security/advisories/GHSA-7jxr-cg7f-gpgv
x_refsource_CONFIRM
https://github.com/patriksimek/vm2/issues/515
x_refsource_MISC
https://github.com/patriksimek/vm2/commit/d534e5785f38307b70d3aac1945260a261a94d50
x_refsource_MISC
https://gist.github.com/seongil-wi/2a44e082001b959bfe304b62121fb76d
x_refsource_MISC
Hyperlink: https://github.com/patriksimek/vm2/security/advisories/GHSA-7jxr-cg7f-gpgv
Resource:
x_refsource_CONFIRM
Hyperlink: https://github.com/patriksimek/vm2/issues/515
Resource:
x_refsource_MISC
Hyperlink: https://github.com/patriksimek/vm2/commit/d534e5785f38307b70d3aac1945260a261a94d50
Resource:
x_refsource_MISC
Hyperlink: https://gist.github.com/seongil-wi/2a44e082001b959bfe304b62121fb76d
Resource:
x_refsource_MISC
▼Authorized Data Publishers (ADP)
1. CVE Program Container
Affected Products
Metrics
VersionBase scoreBase severityVector
Metrics Other Info
Impacts
CAPEC IDDescription
Solutions

Configurations

Workarounds

Exploits

Credits

Timeline
EventDate
Replaced By

Rejected Reason

References
HyperlinkResource
https://github.com/patriksimek/vm2/security/advisories/GHSA-7jxr-cg7f-gpgv
x_refsource_CONFIRM
x_transferred
https://github.com/patriksimek/vm2/issues/515
x_refsource_MISC
x_transferred
https://github.com/patriksimek/vm2/commit/d534e5785f38307b70d3aac1945260a261a94d50
x_refsource_MISC
x_transferred
https://gist.github.com/seongil-wi/2a44e082001b959bfe304b62121fb76d
x_refsource_MISC
x_transferred
Hyperlink: https://github.com/patriksimek/vm2/security/advisories/GHSA-7jxr-cg7f-gpgv
Resource:
x_refsource_CONFIRM
x_transferred
Hyperlink: https://github.com/patriksimek/vm2/issues/515
Resource:
x_refsource_MISC
x_transferred
Hyperlink: https://github.com/patriksimek/vm2/commit/d534e5785f38307b70d3aac1945260a261a94d50
Resource:
x_refsource_MISC
x_transferred
Hyperlink: https://gist.github.com/seongil-wi/2a44e082001b959bfe304b62121fb76d
Resource:
x_refsource_MISC
x_transferred
2. CISA ADP Vulnrichment
Affected Products
Metrics
VersionBase scoreBase severityVector
Metrics Other Info
Impacts
CAPEC IDDescription
Solutions

Configurations

Workarounds

Exploits

Credits

Timeline
EventDate
Replaced By

Rejected Reason

References
HyperlinkResource
Information is not available yet
▼National Vulnerability Database (NVD)
nvd.nist.gov
Source:security-advisories@github.com
Published At:06 Apr, 2023 | 20:15
Updated At:13 Apr, 2023 | 13:20

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.

CISA Catalog
Date AddedDue DateVulnerability NameRequired Action
N/A
Date Added: N/A
Due Date: N/A
Vulnerability Name: N/A
Required Action: N/A
Metrics
TypeVersionBase scoreBase severityVector
Primary3.19.8CRITICAL
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Secondary3.110.0CRITICAL
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Type: Primary
Version: 3.1
Base score: 9.8
Base severity: CRITICAL
Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Type: Secondary
Version: 3.1
Base score: 10.0
Base severity: CRITICAL
Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
CPE Matches

vm2_project
vm2_project
>>vm2>>Versions before 3.9.15(exclusive)
cpe:2.3:a:vm2_project:vm2:*:*:*:*:*:node.js:*:*
Weaknesses
CWE IDTypeSource
CWE-913Primarysecurity-advisories@github.com
CWE ID: CWE-913
Type: Primary
Source: security-advisories@github.com
Evaluator Description

Evaluator Impact

Evaluator Solution

Vendor Statements

References
HyperlinkSourceResource
https://gist.github.com/seongil-wi/2a44e082001b959bfe304b62121fb76dsecurity-advisories@github.com
Exploit
https://github.com/patriksimek/vm2/commit/d534e5785f38307b70d3aac1945260a261a94d50security-advisories@github.com
Patch
https://github.com/patriksimek/vm2/issues/515security-advisories@github.com
Exploit
Issue Tracking
https://github.com/patriksimek/vm2/security/advisories/GHSA-7jxr-cg7f-gpgvsecurity-advisories@github.com
Vendor Advisory
Hyperlink: https://gist.github.com/seongil-wi/2a44e082001b959bfe304b62121fb76d
Source: security-advisories@github.com
Resource:
Exploit
Hyperlink: https://github.com/patriksimek/vm2/commit/d534e5785f38307b70d3aac1945260a261a94d50
Source: security-advisories@github.com
Resource:
Patch
Hyperlink: https://github.com/patriksimek/vm2/issues/515
Source: security-advisories@github.com
Resource:
Exploit
Issue Tracking
Hyperlink: https://github.com/patriksimek/vm2/security/advisories/GHSA-7jxr-cg7f-gpgv
Source: security-advisories@github.com
Resource:
Vendor Advisory

Change History

0
Information is not available yet

Similar CVEs

0Records found

Details not found