{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:nsa:ghidra:*:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "10.2.2"
              },
              {
                "last_affected": "10.2.2"
              }
            ],
            "source": [
              "DESCRIPTION",
              "CPE_RANGE"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "9813cde2db1f31f92fed49a4dd8aa29b21d72581"
            }
          ],
          "repo": "https://github.com/nationalsecurityagency/ghidra",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "mitre",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/22xxx/CVE-2023-22671.json"
  },
  "details": "Ghidra/RuntimeScripts/Linux/support/launch.sh in NSA Ghidra through 10.2.2 passes user-provided input into eval, leading to command injection when calling analyzeHeadless with untrusted input.",
  "id": "CVE-2023-22671",
  "modified": "2026-07-08T05:38:18.399214279Z",
  "published": "2023-01-06T00:00:00Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/22xxx/CVE-2023-22671.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-22671"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/NationalSecurityAgency/ghidra/issues/4869"
    },
    {
      "type": "FIX",
      "url": "https://github.com/NationalSecurityAgency/ghidra/pull/4872"
    }
  ],
  "schema_version": "1.7.5",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}