CVE-2021-43616 Details
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.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-345 | Insufficient Verification of Data Authenticity | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| npmjs npm | >= 7.0.0, <= 7.24.2 >= 8.0.0, <= 8.1.3 |
CPE
Remediation
| |
| netapp next generation application programming interface | All versions |
CPE
Remediation
| |
| fedoraproject fedora | 35 |
CPE
Remediation
| |
Change History
18 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| Aug 4, 2024 | CVE Modified | [email protected] |
| May 17, 2024 | CVE Modified | [email protected] |
| May 14, 2024 | CVE Modified | [email protected] |
| Apr 11, 2024 | CVE Modified | [email protected] |
| Mar 21, 2024 | CVE Modified | [email protected] |
| Nov 7, 2023 | CVE Modified | [email protected] |
| Oct 17, 2022 | CVE Modified | [email protected] |
| Mar 25, 2022 | Modified Analysis | [email protected] |
| Feb 19, 2022 | CVE Modified | [email protected] |
| Feb 4, 2022 | CVE Modified | [email protected] |
| Dec 14, 2021 | Modified Analysis | [email protected] |
| Dec 10, 2021 | CVE Modified | [email protected] |
| Nov 26, 2021 | Modified Analysis | [email protected] |
| Nov 24, 2021 | CVE Modified | [email protected] |
| Nov 17, 2021 | Initial Analysis | [email protected] |
| Nov 15, 2021 | CVE Modified | [email protected] |