{"id":"CVE-2022-0841","summary":"OS Command Injection in ljharb/npm-lockfile","details":"OS Command Injection in GitHub repository ljharb/npm-lockfile in v2.0.3 and v2.0.4.","aliases":["GHSA-cr6m-62pq-hmqh"],"modified":"2026-08-12T03:51:16.980690259Z","published":"2022-03-03T15:50:10Z","database_specific":{"cna_assigner":"@huntrdev","cwe_ids":["CWE-78"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/0xxx/CVE-2022-0841.json"},"references":[{"type":"WEB","url":"https://huntr.dev/bounties/4f806dc9-2ecd-4e79-997e-5292f1bea9f1"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/0xxx/CVE-2022-0841.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-0841"},{"type":"FIX","url":"https://github.com/ljharb/npm-lockfile/commit/bfdb84813260f0edbf759f2fde1e8c816c1478b8"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/ljharb/npm-lockfile","events":[{"introduced":"fc56cd3f6172cf85f087181189a5fcf5f4906595"},{"fixed":"bfdb84813260f0edbf759f2fde1e8c816c1478b8"}],"database_specific":{"extracted_events":[{"introduced":"2.0.3"},{"last_affected":"2.0.3"},{"introduced":"2.0.4"},{"last_affected":"2.0.4"}],"source":["CPE_STRING","REFERENCES"],"cpe":["cpe:2.3:a:npm-lockfile_project:npm-lockfile:2.0.3:*:*:*:*:node.js:*:*","cpe:2.3:a:npm-lockfile_project:npm-lockfile:2.0.4:*:*:*:*:node.js:*:*"]}}],"versions":["2.0.3","2.0.4","v2.0.4","v2.0.3"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-0841.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:A/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N"}]}