8.8

CVE-2021-22864: github enterprise_server Command Injection

CVSS: 8.8v3.1HighModified
Published 23-03-2021Last modified 03-08-2024

Vulnerability summary

CVE-2021-22864 is a high (CVSS 8.8) Command Injection vulnerability in github enterprise_server. EPSS estimates a 2.55% chance of exploitation in the next 30 days, higher than 84.8% of scored vulnerabilities.

Overall risk
36/100
0100
Medium · default modelHow is this calculated?
CVSS score
8.8/10
010
High · v3.1 (NVD)
EPSS score
2.55%
0%100%
Low · +0.09 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Timeline

  1. 23-03-2021
    PublishedVulnerability first disclosed.
  2. 03-08-2024
    Last modifiedVulnerability information updated.

Description

A remote code execution vulnerability was identified in GitHub Enterprise Server that could be exploited when building a GitHub Pages site. User-controlled configuration options used by GitHub Pages were not sufficiently restricted and made it possible to override environment variables leading to code execution on the GitHub Enterprise Server instance. To exploit this vulnerability, an attacker would need permission to create and build a GitHub Pages site on the GitHub Enterprise Server instance. This vulnerability affected all versions of GitHub Enterprise Server prior to 3.0.3 and was fixed in 3.0.3, 2.22.9, and 2.21.17. This vulnerability was reported via the GitHub Bug Bounty program.

CVSS metrics

2 scores · 1 source · 2 versions

EPSS trend

Probability

2.55%

Chance of exploitation in the next 30 days

Percentile

85%

Versus all other CVEs

30-day change

+0.09 pp

From 2.46% on 20-09-2026

20-09-202620-10-2026
EPSS score
2.55%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Github2 products

1 vendor · 2 products

References

3 links