{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-0841","id":"CVE-2022-0841","title":"OS Command Injection in ljharb/npm-lockfile","description":"OS Command Injection in GitHub repository ljharb/npm-lockfile in v2.0.3 and v2.0.4.","descriptionLong":"OS Command Injection in GitHub repository ljharb/npm-lockfile in v2.0.3 and v2.0.4.","published":"2022-03-03T15:50:10.000Z","updated":"2026-10-28T02:30:38.155204285Z","reserved":"2022-03-03T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"@huntrdev","metric":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},"metrics":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"GitHub"},{"version":"3.0","score":3.8,"vector":"CVSS:3.0/AV:A/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N","rating":"low","source":"@huntrdev"},{"version":"3.0","score":3.8,"vector":"CVSS:3.0/AV:A/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N","rating":"low","source":"huntr.dev"},{"version":"3.0","score":3.8,"vector":"CVSS:3.0/AV:A/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N","rating":"low","source":"OSV"},{"version":"2.0","score":10,"vector":"AV:N/AC:L/Au:N/C:C/I:C/A:C","rating":"critical","source":"NVD"}],"rating":"critical","products":["ljharb/npm-lockfile"],"affectedProducts":[{"vendor":"ljharb","product":"ljharb/npm-lockfile","defaultStatus":null,"versions":[{"status":"affected","version":"2.0.3"},{"status":"affected","version":"2.0.4"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"npm-lockfile","purl":"pkg:npm/npm-lockfile","ranges":[">=2.0.3 <2.0.5"],"fixed":["2.0.5"],"advisory":"GHSA-cr6m-62pq-hmqh"}],"cwes":["CWE-78"],"aliases":["GHSA-cr6m-62pq-hmqh"],"references":[{"url":"https://huntr.dev/bounties/4f806dc9-2ecd-4e79-997e-5292f1bea9f1","tags":["x_refsource_CONFIRM","x_transferred","Exploit","Patch","Third Party Advisory","web"]},{"url":"https://github.com/ljharb/npm-lockfile/commit/bfdb84813260f0edbf759f2fde1e8c816c1478b8","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/0xxx/CVE-2022-0841.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-0841","tags":["advisory"]},{"url":"https://github.com/ljharb/npm-lockfile","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.02513,"epssPercentile":0.85116,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-0841","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-0841","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-0841","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-cr6m-62pq-hmqh","ok":true,"note":"GHSA-cr6m-62pq-hmqh"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-0841","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}