CVE-2021-22870

Medium

Description

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.

SeverityMedium
CVSS6.5
Exploit probability—
ProductGithub Enterprise Server
PublishedNov 10, 2021
First seenNov 10, 2021
Weakness typeCWE-23CWE-23

How to fix

Update
  • github enterprise_server3.0.19, 3.1.11, 3.2.3 or later

Affected products

ProductAffected versionsFixed in
github enterprise_serverv < 3.0.19, 3.1.0 ≤ v < 3.1.11, 3.2.0 ≤ v < 3.2.33.0.19, 3.1.11, 3.2.3

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.