CVE-2022-0841 – npm-lockfile
Package
Manager: npm
Name: npm-lockfile
Vulnerable Version: >=2.0.3 <2.0.5
Severity
Level: Critical
CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
EPSS: 0.01513 pctl0.80522
Details
OS Command injection in npm-lockfile 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.
Metadata
Created: 2022-03-04T00:00:18Z
Modified: 2022-04-04T21:37:38Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/03/GHSA-cr6m-62pq-hmqh/GHSA-cr6m-62pq-hmqh.json
CWE IDs: ["CWE-78"]
Alternative ID: GHSA-cr6m-62pq-hmqh
Finding: F404
Auto approve: 1