Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CVE-2023-29199 (Critical) detected in vm2-3.9.3.tgz #164

Open
1 task
mend-for-github-com bot opened this issue Apr 12, 2023 · 0 comments
Open
1 task

CVE-2023-29199 (Critical) detected in vm2-3.9.3.tgz #164

mend-for-github-com bot opened this issue Apr 12, 2023 · 0 comments
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource

Comments

@mend-for-github-com
Copy link
Contributor

mend-for-github-com bot commented Apr 12, 2023

CVE-2023-29199 - Critical Severity Vulnerability

Vulnerable Library - vm2-3.9.3.tgz

vm2 is a sandbox that can run untrusted code with whitelisted Node's built-in modules. Securely!

Library home page: https://registry.npmjs.org/vm2/-/vm2-3.9.3.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/vm2/package.json

Dependency Hierarchy:

  • juicy-chat-bot-0.6.4.tgz (Root Library)
    • vm2-3.9.3.tgz (Vulnerable Library)

Found in HEAD commit: ba236fd18ec3e6450d68d675bce1609d2e5d3230

Found in base branch: main

Vulnerability Details

There exists a vulnerability in source code transformer (exception sanitization logic) of vm2 for versions up to 3.9.15, allowing attackers to bypass handleException() and leak unsanitized host exceptions which can be used to escape the sandbox and run arbitrary code in host context. A threat actor can 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.16 of vm2.

Publish Date: 2023-04-14

URL: CVE-2023-29199

CVSS 3 Score Details (10.0)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: None
    • Scope: Changed
  • Impact Metrics:
    • Confidentiality Impact: High
    • Integrity Impact: High
    • Availability Impact: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-xj72-wvfv-8985

Release Date: 2023-04-14

Fix Resolution (vm2): 3.9.16

Direct dependency fix Resolution (juicy-chat-bot): 0.7.1


  • Check this box to open an automated fix PR
@mend-for-github-com mend-for-github-com bot added the Mend: dependency security vulnerability Security vulnerability detected by WhiteSource label Apr 12, 2023
@mend-for-github-com mend-for-github-com bot changed the title CVE-2023-29199 (Medium) detected in vm2-3.9.3.tgz CVE-2023-29199 (High) detected in vm2-3.9.3.tgz Apr 17, 2023
@mend-for-github-com mend-for-github-com bot changed the title CVE-2023-29199 (High) detected in vm2-3.9.3.tgz CVE-2023-29199 (Critical) detected in vm2-3.9.3.tgz Jun 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource
Projects
None yet
Development

No branches or pull requests

0 participants