{
  "schemaVersion": 1,
  "attribution": [
    {
      "source": "CISA Known Exploited Vulnerabilities",
      "url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog",
      "licence": "US government work"
    },
    {
      "source": "GitHub Advisory Database",
      "url": "https://github.com/advisories",
      "licence": "CC BY 4.0"
    },
    {
      "source": "Have I Been Pwned",
      "url": "https://haveibeenpwned.com/",
      "licence": "CC BY 4.0"
    },
    {
      "source": "CVE Program (CVE records)",
      "url": "https://www.cve.org/Legal/TermsOfUse",
      "licence": "CVE Terms of Use",
      "notice": "Copyright © 1999-2026, The MITRE Corporation. CVE is a trademark and the CVE logo is a registered trademark of The MITRE Corporation.",
      "terms": "CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE™). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy."
    },
    {
      "source": "FIRST EPSS",
      "url": "https://www.first.org/epss/",
      "licence": "free to use; FIRST requests attribution"
    }
  ],
  "record": {
    "id": "CVE-2023-22381",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2023-22381",
    "idYear": 2023,
    "status": "PUBLISHED",
    "publishedAt": "2023-03-02T20:54:34.191Z",
    "updatedAt": "2025-03-05T20:05:02.297Z",
    "importedAt": "2026-10-24T01:56:49.724Z",
    "snapshot": {
      "id": "cve_2026-10-24_midnight_baseline",
      "at": "2026-10-24T00:00:00.000Z",
      "source": "https://github.com/CVEProject/cvelistV5/releases/tag/cve_2026-10-24_0100Z"
    },
    "facts": {
      "title": "Code injection in GitHub Enterprise Server leading to arbitrary environment variables in GitHub Actions",
      "summary": "A code injection vulnerability was identified in GitHub Enterprise Server that allowed setting arbitrary environment variables from a single environment variable value in GitHub Actions when using a Windows based runner. To exploit this vulnerability, an attacker would need existing permission to control the value of environment variables for use with GitHub Actions. This vulnerability affected all versions of GitHub Enterprise Server prior to 3.8.0 and was fixed in versions 3.4.15, 3.5.12, 3.6.8, 3.7.5. This vulnerability was reported via the GitHub Bug Bounty program.\n\n\n\n\n",
      "affected": [
        {
          "vendor": "GitHub",
          "product": "Enterprise Server",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "3.4.0",
              "status": "affected",
              "versionType": "semver",
              "lessThanOrEqual": "3.4.14",
              "changes": [
                {
                  "at": "3.4.15",
                  "status": "unaffected"
                }
              ]
            },
            {
              "version": "3.5.0",
              "status": "affected",
              "versionType": "semver",
              "lessThanOrEqual": "3.5.11",
              "changes": [
                {
                  "at": "3.5.12",
                  "status": "unaffected"
                }
              ]
            },
            {
              "version": "3.6.0",
              "status": "affected",
              "versionType": "semver",
              "lessThanOrEqual": "3.6.7",
              "changes": [
                {
                  "at": "3.6.8",
                  "status": "unaffected"
                }
              ]
            },
            {
              "version": "3.7.0",
              "status": "affected",
              "versionType": "semver",
              "lessThanOrEqual": "3.7.4",
              "changes": [
                {
                  "at": "3.7.5",
                  "status": "unaffected"
                }
              ]
            },
            {
              "version": "3.8.0",
              "status": "unaffected"
            }
          ]
        }
      ]
    }
  }
}