CVE-2022-46256 Path traversal in GitHub Enterprise Server leading to remote code execution in GitHub Pages
HighCVSS 8.8
EPSS 2.1%
- Published
- Updated
- Exploit status
- No public exploit known
Description
A path traversal vulnerability was identified in GitHub Enterprise Server that allowed remote code execution when building a GitHub Pages site. To exploit this vulnerability, an attacker would need permission to create and build a GitHub Pages site on the instance. This vulnerability was fixed in versions 3.3.17, 3.4.12, 3.5.9, 3.6.5 and 3.7.2. This vulnerability was reported via the GitHub Bug Bounty program.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| GitHub Enterprise Server | >= 3.3, < 3.3.17 | 3.3.17 |
| GitHub Enterprise Server | >= 3.4, < 3.4.12 | 3.4.12 |
| GitHub Enterprise Server | >= 3.5, < 3.5.9 | 3.5.9 |
| GitHub Enterprise Server | >= 3.6, < 3.6.5 | 3.6.5 |
| GitHub Enterprise Server | >= 3.7, < 3.7.2 | 3.7.2 |
| GitHub Enterprise Server | < 3.3.17 | 3.3.17 |
| GitHub Enterprise Server | >= 3.4.0, < 3.4.12 | 3.4.12 |
| GitHub Enterprise Server | >= 3.5.0, < 3.5.9 | 3.5.9 |
| GitHub Enterprise Server | >= 3.6.0, < 3.6.5 | 3.6.5 |
| GitHub Enterprise Server | >= 3.7.0, < 3.7.2 | 3.7.2 |