SB2021111301 - Insufficient verification of data authenticity in npm cli
Published: November 13, 2021 Updated: June 1, 2022
Security Bulletin ID
SB2021111301
Severity
High
Patch available
YES
Number of vulnerabilities
1
Exploitation vector
Remote access
Highest impact
Code execution
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 1 security vulnerability.
1) Insufficient verification of data authenticity (CVE-ID: CVE-2021-43616)
The vulnerability allows a remote attacker to execute arbitrary code on the system.
The vulnerability exists due to insufficient verification of data authenticity in the npm ci command. A remote attacker can exploit the vulnerability to install malware that was supposed to have been blocked by an exact version match requirement in package-lock.json.
Remediation
Install update from vendor's website.
References
- https://docs.npmjs.com/cli/v7/commands/npm-ci
- https://github.com/npm/cli/issues/2701
- 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
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NXNVFKOF5ZYH5NIRWHKN6O6UBCHDV6FE/