QID 376100

QID 376100: NPM Security Update - DO NOT RELEASE

NPM is a package manager for the JavaScript programming language maintained by npm, Inc. npm is the default package manager for the JavaScript runtime environment Node.js. CVE-2021-43616: The npm ci command in npm 7.x and 8.x through 8.1.3 proceeds with an installation even if dependency information in package-lock.json differs from package.json. This behavior is inconsistent with the documentation and makes it easier for attackers to install malware that was supposed to have been blocked by an exact version match requirement in package-lock.json. Affected versions:
npm versions 7.x
npm versions from 8.0.0 priot to 8.1.4

QID Detection logic:(Authenticated)
It will execute command npm -v command to check the npm version

Successful exploitation of this vulnerability may allow an attacker to install malware that was supposed to have been blocked by an exact version match requirement in package-lock.json.

  • CVSS V3 rated as Critical - 9.8 severity.
  • CVSS V2 rated as High - 7.5 severity.
  • Solution
    Customers are advised to update to npm 8.1.4 . Please refer the npm ci Documnetation
    Vendor References

    CVEs related to QID 376100

    Software Advisories
    Advisory ID Software Component Link
    npm ci Documnetation URL Logo docs.npmjs.com/cli/v7/commands/npm-ci
    © 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