npm-lockfile
Affected
- introduced
2.0.3, fixed2.0.5(semver)
Fixed versions
2.0.5
Fix
- Fixed version
2.0.5npm install [email protected]
Advisory
Also known as: CVE-2022-0841
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.
Critical Basis: The source's own band: CRITICAL
2.0.3, fixed 2.0.5 (semver)2.0.5
2.0.5npm install [email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0