Path Traversal in Github Enterprise Server

CVE-2021-22870

A path traversal vulnerability was identified in GitHub Pages builds on GitHub Enterprise Server that could allow an attacker to read system files. 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.3 and was fixed in versions 3.0.19, 3.1.11, and 3.2.3. This vulnerability was reported via the GitHub Bug Bounty program.

EPSS: 0.011 (62.2th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2021-22870?
CVE-2021-22870 is a medium-severity vulnerability in Github Enterprise Server, classified under Relative Path Traversal. CVSS score: 6.5/10. Published 2021-11-10.
How severe is CVE-2021-22870?
Medium severity. CVSS v3 base score is 6.5 out of 10.