SecurityContext

CVE-2023-29017: vm2 - Remote Code Execution

  • Cve: CVE-2023-29017
  • Name: vm2 - Remote Code Execution
  • Description: 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.
  • Impact: Threat actors can bypass sandbox protections to execute arbitrary code on the host system remotely.
  • Remediation: Update to version 3.9.15 or later.
  • Vulnerability type: insecure_deserialization
  • Vulnerability impact: remote_code_execution
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.63186
  • Epss percentile: 0.99223
  • Assignee: [email protected]
  • Published at: 2023-04-06T20:15:08Z
  • Age in days: 1328
  • Modified at: 2026-06-17T05:49:11Z
  • Patch available: yes
  • Public exploits total: 5
  • References total: 4
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2023-29017
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: requirements

Cwe

IdName
CWE-913Improper Control of Dynamically-Managed Code Resources

Hackerone

  • Reports: 2
  • Rank: 1901

Public exploits

UrlSourceAdded date
https://gist.github.com/seongil-wi/2a44e082001b959bfe304b62121fb76dnvd2023-04-06
https://github.com/patriksimek/vm2/issues/515nvd2023-04-06
https://github.com/wooung105/Node_CVE-2023-29017poc-in-github2026-07-12
https://github.com/passwa11/CVE-2023-29017-reverse-shellpoc-in-github2023-07-20
https://github.com/timb-machine-mirrors/seongil-wi-CVE-2023-29017poc-in-github2023-04-07

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/patriksimek/vm2/commit/d534e5785f38307b70d3aac1945260a261a94d50Patch
https://github.com/patriksimek/vm2/security/advisories/GHSA-7jxr-cg7f-gpgvVendor Advisory
https://gist.github.com/seongil-wi/2a44e082001b959bfe304b62121fb76dExploit
https://github.com/patriksimek/vm2/issues/515Exploit, Issue Tracking

Products

ProductAffectedPlatform boundSourcesUrl
vm2_project:vm2< 3.9.15nonvd/v1/products/vm2_project/vm2

Projects

RepositoryLink kindsIndexedUrl
patriksimek/vm2commit, fix, issues, package, security_advisoryyes/v1/repositories/patriksimek/vm2

Index

  • Repositories: 17
  • Repositories high signal: 5
  • Packages: 1

Exploitation

  • Public exploit: yes
  • Public exploit count: 5
  • Public exploit first date: 2023-04-06
  • Remote: yes
  • Hackerone reports: 2
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, exposed hosts