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 @ Npm-vm2-3.9.11 #55

Open
westonphillips opened this issue Jun 27, 2023 · 0 comments
Open

CVE-2023-29199 @ Npm-vm2-3.9.11 #55

westonphillips opened this issue Jun 27, 2023 · 0 comments

Comments

@westonphillips
Copy link
Owner

westonphillips commented Jun 27, 2023

Vulnerable Package issue exists @ Npm-vm2-3.9.11 in branch main

The NPM package vm2 has a vulnerability in versions prior to 3.9.16 that can allow malicious actors to bypass handleException() to escape the sandbox which can then lead to Remote Code Execution (RCE) on the host running the sandbox. The flaw is in the way that the transformer function preprocesses code which allows an attacker to later bypass a handleException() which in its turn allows to raise a host exception. This can then be used to access the host "Function" constructor which allows to escape the sandbox and gain arbitrary code execution on the host.

Namespace: westonphillips
Repository: CheckmarxOnePOV
Repository Url: https://github.com/westonphillips/CheckmarxOnePOV
CxAST-Project: westonphillips/CheckmarxOnePOV
CxAST platform scan: dfe9066d-c97b-4e43-85c7-29fe7c9fee82
Branch: main
Application: CheckmarxOnePOV
Severity: HIGH
State: NOT_IGNORED
Status: RECURRENT
CWE: CWE-913


Additional Info
Attack vector: NETWORK
Attack complexity: LOW
Confidentiality impact: HIGH
Availability impact: HIGH
Remediation Upgrade Recommendation: 3.9.16


References
Advisory
POC/Exploit
Release Note
Issue
Commit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant