CVE-2023-22381CWE-94

Code injection in GitHub Enterprise Server leading to arbitrary environment variables in GitHub Actions

Medium · published March 2, 2023

CVSS v3.1
4.1
EPSS
1%
Percentile
57.4
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
4.1 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:L
CVSS v4.0
Not supplied
EPSS
0.00839 · 57.4th percentile
Weakness
CWE-94 · Improper Control of Generation of Code ('Code Injection')
Published
2023-03-02T20:54Z
EPSS history
Timeline
  • 02 MAR 20:54Z
    Code injection in GitHub Enterprise Server leading to arbitrary environment variables in GitHub Actions
    cvelistv5