CVE-2021-43616
Description
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. NOTE: The npm team believes this is not a vulnerability. It would require someone to socially engineer package.json which has different dependencies than package-lock.json. That user would have to have file system or write access to change dependencies. The npm team states preventing malicious actors from socially engineering or gaining file system access is outside the scope of the npm CLI.
Risk Information
Associated Vulnerability
| Vulnerability | OS Platform |
|---|---|
| (RHSA-2022:4796) nodejs:16 security update nodejs-16.14.0-4.module+el8.6.0+15294+54b291d2.x86_64.rpm | Linux |
| (RHSA-2022:4796) nodejs:16 security update nodejs-debugsource-16.14.0-4.module+el8.6.0+15294+54b291d2.x86_64.rpm | Linux |
| (RHSA-2022:4796) nodejs:16 security update nodejs-devel-16.14.0-4.module+el8.6.0+15294+54b291d2.x86_64.rpm | Linux |
| (RHSA-2022:4796) nodejs:16 security update nodejs-docs-16.14.0-4.module+el8.6.0+15294+54b291d2.noarch.rpm | Linux |
| (RHSA-2022:4796) nodejs:16 security update nodejs-full-i18n-16.14.0-4.module+el8.6.0+15294+54b291d2.x86_64.rpm | Linux |
| (RHSA-2022:4796) nodejs:16 security update nodejs-nodemon-2.0.15-1.module+el8.6.0+15294+54b291d2.noarch.rpm | Linux |
| (RHSA-2022:4796) nodejs:16 security update npm-8.3.1-1.16.14.0.4.module+el8.6.0+15294+54b291d2.x86_64.rpm | Linux |
| Nodejs update (ELSA-2022-4796) nodejs-16.14.0-4.module+el8.6.0+20672+19f3909b.x86_64.rpm | Linux |
| Nodejs-devel update (ELSA-2022-4796) nodejs-devel-16.14.0-4.module+el8.6.0+20672+19f3909b.x86_64.rpm | Linux |
| Nodejs-docs update (ELSA-2022-4796) nodejs-docs-16.14.0-4.module+el8.6.0+20672+19f3909b.noarch.rpm | Linux |
| Nodejs-full-i18n update (ELSA-2022-4796) nodejs-full-i18n-16.14.0-4.module+el8.6.0+20672+19f3909b.x86_64.rpm | Linux |
| Nodejs-nodemon update (ELSA-2022-4796) nodejs-nodemon-2.0.15-1.module+el8.6.0+20672+19f3909b.noarch.rpm | Linux |
| Nodejs-packaging update (ELSA-2022-4796) nodejs-packaging-25-1.module+el8.5.0+20388+4b61e68d.noarch.rpm | Linux |
| Npm update (ELSA-2022-4796) npm-8.3.1-1.16.14.0.4.module+el8.6.0+20672+19f3909b.x86_64.rpm | Linux |
| Npm update (ELSA-2025-8514) npm-10.8.2-1.20.19.2.1.module+el8.10.0+90611+29f3ae1e.x86_64.rpm | Linux |
| Nodejs-packaging-bundler update (ELSA-2025-8514) nodejs-packaging-bundler-2021.06-4.module+el8.10.0+90611+29f3ae1e.noarch.rpm | Linux |
| Nodejs-packaging update (ELSA-2025-8514) nodejs-packaging-2021.06-4.module+el8.10.0+90611+29f3ae1e.noarch.rpm | Linux |
| Nodejs-nodemon update (ELSA-2025-8514) nodejs-nodemon-3.0.1-1.module+el8.10.0+90611+29f3ae1e.noarch.rpm | Linux |
| Nodejs-full-i18n update (ELSA-2025-8514) nodejs-full-i18n-20.19.2-1.module+el8.10.0+90611+29f3ae1e.x86_64.rpm | Linux |
| Nodejs-docs update (ELSA-2025-8514) nodejs-docs-20.19.2-1.module+el8.10.0+90611+29f3ae1e.noarch.rpm | Linux |
| Nodejs-devel update (ELSA-2025-8514) nodejs-devel-20.19.2-1.module+el8.10.0+90611+29f3ae1e.x86_64.rpm | Linux |
| Nodejs update (ELSA-2025-8514) nodejs-20.19.2-1.module+el8.10.0+90611+29f3ae1e.x86_64.rpm | Linux |
| nodejs Security Update (ALAS2023-2023-084) v8-devel-10.2.154.15-1.18.12.1.1.amzn2023.0.2.x86_64.rpm | Linux |
| nodejs Security Update (ALAS2023-2023-084) nodejs-18.12.1-1.amzn2023.0.2.x86_64.rpm | Linux |
| nodejs Security Update (ALAS2023-2023-084) nodejs-devel-18.12.1-1.amzn2023.0.2.x86_64.rpm | Linux |
| nodejs Security Update (ALAS2023-2023-084) nodejs-docs-18.12.1-1.amzn2023.0.2.noarch.rpm | Linux |
| nodejs Security Update (ALAS2023-2023-084) nodejs-full-i18n-18.12.1-1.amzn2023.0.2.x86_64.rpm | Linux |
| nodejs Security Update (ALAS2023-2023-084) nodejs-libs-18.12.1-1.amzn2023.0.2.x86_64.rpm | Linux |
| nodejs Security Update (ALAS2023-2023-084) npm-8.19.2-1.18.12.1.1.amzn2023.0.2.x86_64.rpm | Linux |
Patch Details
No records foundReferences
https://nvd.nist.gov/vuln/detail/CVE-2023-1234
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-1234