{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "bfdb84813260f0edbf759f2fde1e8c816c1478b8"
            }
          ],
          "repo": "https://github.com/ljharb/npm-lockfile",
          "type": "GIT"
        }
      ]
    }
  ],
  "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"
  },
  "details": "OS Command Injection in GitHub repository ljharb/npm-lockfile in v2.0.3 and v2.0.4.",
  "id": "CVE-2022-0841",
  "modified": "2026-04-01T23:10:08.720613848Z",
  "published": "2022-03-03T15:50:10Z",
  "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"
    }
  ],
  "schema_version": "1.7.3",
  "severity": [
    {
      "score": "CVSS:3.0/AV:A/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "OS Command Injection in ljharb/npm-lockfile"
}