Lucene search

K
cvelistGitHub_PCVELIST:CVE-2023-22381
HistoryMar 02, 2023 - 8:54 p.m.

CVE-2023-22381 Code injection in GitHub Enterprise Server leading to arbitrary environment variables in GitHub Actions

2023-03-0220:54:34
CWE-94
GitHub_P
www.cve.org
cve-2023-22381
code injection
github enterprise server
arbitrary environment variables
github actions
windows based runner
permission control
github bug bounty

4.1 Medium

CVSS3

Attack Vector

NETWORK

Attack Complexity

HIGH

Privileges Required

HIGH

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

LOW

Integrity Impact

LOW

Availability Impact

LOW

CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:L

0.002 Low

EPSS

Percentile

55.8%

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.

CNA Affected

[
  {
    "defaultStatus": "affected",
    "product": "Enterprise Server",
    "vendor": "GitHub",
    "versions": [
      {
        "changes": [
          {
            "at": "3.4.15",
            "status": "unaffected"
          }
        ],
        "lessThanOrEqual": "3.4.14",
        "status": "affected",
        "version": "3.4.0",
        "versionType": "semver"
      },
      {
        "changes": [
          {
            "at": "3.5.12",
            "status": "unaffected"
          }
        ],
        "lessThanOrEqual": "3.5.11",
        "status": "affected",
        "version": "3.5.0",
        "versionType": "semver"
      },
      {
        "changes": [
          {
            "at": "3.6.8",
            "status": "unaffected"
          }
        ],
        "lessThanOrEqual": "3.6.7",
        "status": "affected",
        "version": "3.6.0",
        "versionType": "semver"
      },
      {
        "changes": [
          {
            "at": "3.7.5",
            "status": "unaffected"
          }
        ],
        "lessThanOrEqual": "3.7.4",
        "status": "affected",
        "version": "3.7.0",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "3.8.0"
      }
    ]
  }
]

4.1 Medium

CVSS3

Attack Vector

NETWORK

Attack Complexity

HIGH

Privileges Required

HIGH

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

LOW

Integrity Impact

LOW

Availability Impact

LOW

CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:L

0.002 Low

EPSS

Percentile

55.8%

Related for CVELIST:CVE-2023-22381