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.
- npm ci Documnetation -
docs.npmjs.com/cli/v7/commands/npm-ci
CVEs related to QID 376100
| Advisory ID | Software | Component | Link |
|---|---|---|---|
| npm ci Documnetation |
|