CVE-2021-22867

Medium

Description

A path traversal 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 read files 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.1.3 and was fixed in 3.1.3, 3.0.11, and 2.22.17. This vulnerability was reported via the GitHub Bug Bounty program.

SeverityMedium
CVSS6.5
Exploit probability—
ProductGithub Enterprise Server
PublishedJul 14, 2021
First seenJul 14, 2021

How to fix

Update
  • github enterprise_server2.22.17, 3.0.11, 3.1.3 or later

Affected products

ProductAffected versionsFixed in
github enterprise_serverv < 2.22.17, 3.0.0 ≤ v < 3.0.11, 3.1.0 ≤ v < 3.1.32.22.17, 3.0.11, 3.1.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.