Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. vm2
  4. ›
  5. CVE-2021-23555

CVE-2021-23555: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

February 11, 2022 (updated February 22, 2022)

The package vm2 is vulnerable to Sandbox Bypass via direct access to host error objects generated by node internals during generation of a stacktraces, which can lead to execution of arbitrary code on the host machine.

References

  • github.com/advisories/GHSA-6pw2-5hjv-9pf7
  • github.com/patriksimek/vm2/commit/532120d5cdec7da8225fc6242e154ebabc63fe4d
  • nvd.nist.gov/vuln/detail/CVE-2021-23555
  • snyk.io/vuln/SNYK-JS-VM2-2309905

Code Behaviors & Features

Detect and mitigate CVE-2021-23555 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 3.9.6

Fixed versions

  • 3.9.6

Solution

Upgrade to version 3.9.6 or above.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Source file

npm/vm2/CVE-2021-23555.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:51 +0000.