Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2023-22381

published medium CVSS 3.1 · 4.1

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

Published
02 Mar 2023, 20:54:34 UTC
Updated
05 Mar 2025, 20:05:02 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
GitHub — Enterprise Server3.4.0 through 3.4.14 (affected · semver); changes: unaffected at 3.4.15 · 3.5.0 through 3.5.11 (affected · semver); changes: unaffected at 3.5.12 · 3.6.0 through 3.6.7 (affected · semver); changes: unaffected at 3.6.8 · 3.7.0 through 3.7.4 (affected · semver); changes: unaffected at 3.7.5 · 3.8.0 (unaffected) · Other versions: affected Version-specific Not stated GitHub_P

Description

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.

en · GitHub_P · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
4.1 / 10
Severity
medium
Provider
GitHub_P · cna
Vector string
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:L
Scenarios
en: GENERAL

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
GitHub Enterprise Server 3.4.0 through 3.4.14 (affected · semver); changes: unaffected at 3.4.153.5.0 through 3.5.11 (affected · semver); changes: unaffected at 3.5.123.6.0 through 3.6.7 (affected · semver); changes: unaffected at 3.6.83.7.0 through 3.7.4 (affected · semver); changes: unaffected at 3.7.53.8.0 (unaffected)Default: affected GitHub_P · cna

Weaknesses

1
  • CWE-94 CWE-94 Improper Control of Generation of Code ('Code Injection') (GitHub_P · cna)

References

5

Provider assertions

3

GitHub_P · cna

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

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
c02665855923a6a3697609caa2bd202c7908b296dff7f2bb5a20c4d33b9e89eb
Ingested
23 Sep 2026, 08:06:15 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected