Home / Npmjs / Npm / CVE-2021-43616
CVE-2021-43616: is it exploited, and which versions of Npmjs Npm are affected and fixed?
CVE-2021-43616 is a data authenticity not verified vulnerability in Npmjs Npm. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 16:09 UTC). Affected: npm from 7.0.0 through 7.24.2, npm from 8.0.0 through 8.1.3, next generation application programming interface all versions and 1 more (NVD). No fixed version is listed in the sources yet; check the vendor advisory. Severity: Critical (9.0, CVSS 3.1, from mitre).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 16:09 UTC, CVE record November 19, 2026, 07:15 UTC and NVD November 19, 2026, 07:53 UTC.
Disputed: a party (often the vendor) disputes that this is a vulnerability. The record is kept as published.
What is 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. 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.
From the CVE record by mitre, last updated August 4, 2024, 04:03 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| npmjs | npm | from 7.0.0 through 7.24.2 | application |
| npmjs | npm | from 8.0.0 through 8.1.3 | application |
| netapp | next generation application programming interface | all versions | application |
| fedoraproject | fedora | 35 | operating system |
NVD analysis (status Modified), last modified June 17, 2026, 04:11 UTC.
How severe is CVE-2021-43616?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 9.0 | CVSS 3.1 | CVSS:3.1/AC:H/AV:N/A:H/C:H/I:H/PR:N/S:C/UI:N | mitre |
| Critical 9.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | NVD |
| High 7.5 | CVSS 2.0 | AV:N/AC:L/Au:N/C:P/I:P/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2021-43616 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 2.62% probability of exploitation activity in the next 30 days, percentile 85.9 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-345 Insufficient Verification of Data Authenticity
Where are the vendor advisories and references?
- https://github.com/npm/cli/issues/2701
- https://docs.npmjs.com/cli/v7/commands/npm-ci
- https://github.com/icatalina/CVE-2021-43616
- https://medium.com/cider-sec/this-time-we-were-lucky-85c0dcac94a0
- https://security.netapp.com/advisory/ntap-20211210-0002/
- https://github.com/npm/cli/commit/457e0ae61bbc55846f5af44afa4066921923490f
- FEDORA-2022-97b214b298 vendor-advisory
- https://docs.npmjs.com/cli/v8/commands/npm-ci
- https://github.com/npm/cli/issues/2701#issuecomment-979054224
- https://github.com/npm/cli/issues/2701#issuecomment-972900511
When was it published, and where is the official record?
- Reserved
- November 13, 2021
- Published
- November 13, 2021, 00:00 UTC
- CVE record updated
- August 4, 2024, 04:03 UTC by mitre
- NVD
- Modified, last modified June 17, 2026, 04:11 UTC
- Last checked
- CVE list November 19, 2026, 07:15 UTC; NVD November 19, 2026, 07:53 UTC; KEV December 3, 2026, 16:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect Npm?
- Feb 22, 2018CVE-2018-7408 Npmjs Npm: incorrect permissions on a critical resource
- Jul 2, 2016CVE-2016-3956 Ibm Sdk: information disclosure
Questions about CVE-2021-43616
Is CVE-2021-43616 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 16:09 UTC. FIRST's EPSS gives it a 2.62% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Npmjs Npm are affected by CVE-2021-43616?
npm from 7.0.0 through 7.24.2, npm from 8.0.0 through 8.1.3, next generation application programming interface all versions and fedora 35, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2021-43616?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2021-43616?
Critical (9.0, CVSS 3.1, from mitre). The severity table above shows each score with its source.
Where is the official record of CVE-2021-43616?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.