{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "dcb3ddecb9f4cde622cc42c51a2760747797624f"
            }
          ],
          "repo": "https://github.com/crater-invoice-inc/crater",
          "type": "GIT"
        }
      ]
    },
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "dcb3ddecb9f4cde622cc42c51a2760747797624f"
            }
          ],
          "repo": "https://github.com/crater-invoice/crater",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "@huntrdev",
    "cwe_ids": [
      "CWE-434"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/0xxx/CVE-2022-0242.json"
  },
  "details": "Unrestricted Upload of File with Dangerous Type in GitHub repository crater-invoice/crater prior to 6.0.",
  "id": "CVE-2022-0242",
  "modified": "2026-04-01T23:10:09.123487365Z",
  "published": "2022-01-17T18:15:11Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://huntr.dev/bounties/19f3e5f7-b419-44b1-9c37-7e4404cbec94"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/0xxx/CVE-2022-0242.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-0242"
    },
    {
      "type": "FIX",
      "url": "https://github.com/crater-invoice/crater/commit/dcb3ddecb9f4cde622cc42c51a2760747797624f"
    }
  ],
  "schema_version": "1.7.3",
  "severity": [
    {
      "score": "CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Unrestricted Upload of File with Dangerous Type in crater-invoice/crater"
}