CVE-2022-0841
npm-lockfile: os command injection
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, GHSA. Rated lower by Red Hat (low).
Description
OS Command Injection in GitHub repository ljharb/npm-lockfile in v2.0.3 and v2.0.4.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| npm::GitHub Security Advisory npm | npm-lockfile | 2.0.5 |
References
- https://access.redhat.com/security/cve/CVE-2022-0841
- https://github.com/ljharb/npm-lockfile
- https://github.com/ljharb/npm-lockfile/commit/bfdb84813260f0edbf759f2fde1e8c816c1478b8
- https://huntr.dev/bounties/4f806dc9-2ecd-4e79-997e-5292f1bea9f1
- https://huntr.dev/bounties/4f806dc9-2ecd-4e79-997e-5292f1bea9f1/
- https://nvd.nist.gov/vuln/detail/CVE-2022-0841
- https://www.cve.org/CVERecord?id=CVE-2022-0841