CVE-2022-0841
OS Command injection in npm-lockfile
9.8
CRITICAL
CVSS 3.1
EPSS 0.46%
Description
npm-lockfile safely generates an npm lockfile and output it to the filename of your choice. npm-lockfile before 2.0.4 does not santize unsafe external input and invoke sensitive command execution API with the input, causing command injection vulnerability. A fix was released in version 2.0.5.
How to fix CVE-2022-0841
To remediate CVE-2022-0841, upgrade the affected package to a fixed version below.
- —upgrade to 2.0.5 or later
Is CVE-2022-0841 being exploited?
Low — EPSS is 0.5%, meaning exploitation activity has not been observed at scale.
Affected packages (1)
- >= 2.0.3, < 2.0.5
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | CRITICAL9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |