QID 375998

Date Published: 2021-11-01

QID 375998: Node.js VM2 Module Arbitrary Code Execution Vulnerability

Node.js is an open-source, cross-platform, back-end JavaScript runtime environment that runs on the V8 engine and executes JavaScript code outside a web browser.

CVE-2021-23449 :Node.js vm2 module could allow a remote attacker to execute arbitrary code on the system, caused by a prototype pollution flaw.

Affected Versions:
vm2 prior to 3.9.4
QID Detection Logic:(Authenticated)
This QID checks for server banner to detect the vulnerable version of vm2 package using "npm list | grep 'vm2'"

Successful exploit could allow a remote attacker to execute arbitrary code on the system, caused by a prototype pollution flaw

  • CVSS V3 rated as Critical - 10 severity.
  • CVSS V2 rated as High - 7.5 severity.
  • Solution
    Customers are advised to download vm2 3.9.4.

    For more information, visit

    Vendor References

    CVEs related to QID 375998

    Software Advisories
    Advisory ID Software Component Link
    CVE-2021-23449 URL Logo www.npmjs.com/package/vm2

    © CVE.report 2026

    Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

    CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

    Free CVE JSON API cve.report/api

    CVE.report and Source URL Uptime Status status.cve.report