GHSA-cr6m-62pq-hmqh
Dashboard / Vulnerabilities / GHSA-cr6m-62pq-hmqh
Summary: OS Command injection in npm-lockfile
Details: 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.
References: https://nvd.nist.gov/vuln/detail/CVE-2022-0841, https://github.com/ljharb/npm-lockfile/commit/bfdb84813260f0edbf759f2fde1e8c816c1478b8, https://github.com/ljharb/npm-lockfile, https://huntr.dev/bounties/4f806dc9-2ecd-4e79-997e-5292f1bea9f1
Affected packages
Package
Name: npm-lockfile
Purl: pkg:npm/npm-lockfile
Affected ranges
Type: SEMVER
Events:
Introduced- 2.0.3
Fixed -2.0.5
Affected versions
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
