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
02 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
03 Exploitation and scoring
- Exploitation
- Not assessed. CISA has not published an exploitation assessment for this record, and it is not in the KEV catalog. That is an absence of assessment, not a finding of no risk.
- SSVC decision
- Not assessed by CISA
- EPSS probability
- 2.72% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 86.0% of scored records. A rank, not a probability.
- NVD base score
- 9.8 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- NVD analysis status
- Modified. NVD last modified this record on 2026-06-17.
- Red Hat severity
- Important. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2021-11-13 00:00Z4 YR AGO
- Last updated
- 2024-08-04 04:03Z2 YR AGO
- Reserved
- 2021-11-13
- Assigning CNA
- mitre
- Record state
- PUBLISHED
- Severity
- Critical (CVSS 9.0)
- CNA CVSS vector
- CVSS:3.1/AC:H/AV:N/A:H/C:H/I:H/PR:N/S:C/UI:N
- Weaknesses
- CWE-345Insufficient Verification of Data AuthenticityClass
- Data version
- 5.1
- Document digest
- e8438a8b14094ed3a3054c7f13cd8e645e73d96c5b7c3d435821100ac3d01cfc
05 Affected products
06 References
- github.comhttps://github.com/npm/cli/issues/2701
- docs.npmjs.comhttps://docs.npmjs.com/cli/v7/commands/npm-ci
- github.comhttps://github.com/icatalina/CVE-2021-43616
- medium.comhttps://medium.com/cider-sec/this-time-we-were-lucky-85c0dcac94a0
- security.netapp.comhttps://security.netapp.com/advisory/ntap-20211210-0002/
- github.comhttps://github.com/npm/cli/commit/457e0ae61bbc55846f5af44afa4066921923490f
- lists.fedoraproject.orgFEDORA-2022-97b214b298https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NXNVFKOF5ZYH5NIRWHKN6O6UBCHDV6FE/
- docs.npmjs.comhttps://docs.npmjs.com/cli/v8/commands/npm-ci
- github.comhttps://github.com/npm/cli/issues/2701#issuecomment-979054224
- github.comhttps://github.com/npm/cli/issues/2701#issuecomment-972900511
07 Fixed in
AlmaLinux 8
- nodejs Fixed in 1:16.14.0-4.module_el8.6.0+2904+f21ad6f4
- nodejs-devel Fixed in 1:16.14.0-4.module_el8.6.0+2904+f21ad6f4
- nodejs-docs Fixed in 1:16.14.0-4.module_el8.6.0+2904+f21ad6f4
- nodejs-full-i18n Fixed in 1:16.14.0-4.module_el8.6.0+2904+f21ad6f4
- nodejs-nodemon Fixed
A version is affected if any line below covers it.
- Affected before 2.0.15-1.module_el8.5.0+2605+45d748af
- Affected before 2.0.15-1.module_el8.6.0+2904+f21ad6f4
- nodejs-packaging Fixed
A version is affected if any line below covers it.
- Affected before 25-1.module_el8.5.0+246+05401605
- Affected before 25-1.module_el8.5.0+2605+45d748af
- npm Fixed in 1:8.3.1-1.16.14.0.4.module_el8.6.0+2904+f21ad6f4
Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
Arch Linux
- npm Fixed in 8.4.1-1
Source: Arch Linux Security Tracker, the Arch Linux security team. Reformatted by exploit.cc.
CloudLinux 8
- nodejs Fixed in 1:16.14.0-4.module_el8.6.0+2904+f21ad6f4
- nodejs-devel Fixed in 1:16.14.0-4.module_el8.6.0+2904+f21ad6f4
- nodejs-docs Fixed in 1:16.14.0-4.module_el8.6.0+2904+f21ad6f4
- nodejs-full-i18n Fixed in 1:16.14.0-4.module_el8.6.0+2904+f21ad6f4
- nodejs-nodemon Fixed
A version is affected if any line below covers it.
- Affected before 2.0.15-1.module_el8.5.0+2605+45d748af
- Affected before 2.0.15-1.module_el8.6.0+2904+f21ad6f4
- nodejs-packaging Fixed
A version is affected if any line below covers it.
- Affected before 25-1.module_el8.5.0+246+05401605
- Affected before 25-1.module_el8.5.0+2605+45d748af
- npm Fixed in 1:8.3.1-1.16.14.0.4.module_el8.6.0+2904+f21ad6f4
Derived from AlmaLinux 8. Partial coverage: only packages taken from AlmaLinux 8 are listed.
Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
Debian 12
- npm Fixed in 8.4.1~ds-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 13
- npm Fixed in 8.4.1~ds-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 14
- npm Fixed in 8.4.1~ds-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 22.04 LTS
- npm No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 24.04 LTS
- npm No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 25.10
- npm No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 26.04 LTS
- npm No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 26.10
- npm No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.