Skip to content

CVE-2022-46257 Information disclosure in GitHub Enterprise Server leading to unauthorized viewing of private repository names

MediumCVSS 4.3 EPSS 0.57%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

Description

An information disclosure vulnerability was identified in GitHub Enterprise Server that allowed private repositories to be added to a GitHub Actions runner group via the API by a user who did not have access to those repositories, resulting in the repository names being shown in the UI. To exploit this vulnerability, an attacker would need access to the GHES instance, permissions to modify GitHub Actions runner groups, and successfully guess the obfuscated ID of private repositories. This vulnerability affected all versions of GitHub Enterprise Server prior to 3.7 and was fixed in versions 3.3.17, 3.4.12, 3.5.9, 3.6.5. This vulnerability was reported via the GitHub Bug Bounty program.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
GitHub Enterprise Server >= 3.3, < 3.3.17; >= 3.4, < 3.4.12; >= 3.5, < 3.5.9; >= 3.6, < 3.6.5 3.3.17, 3.4.12, 3.5.9, 3.6.5 Fixed
GitHub Enterprise Server >= 3.3.0, < 3.3.17; >= 3.4.0, < 3.4.12; >= 3.5.0, < 3.5.9; >= 3.6.0, < 3.6.5 3.3.17, 3.4.12, 3.5.9, 3.6.5 Fixed

Affected products

ProductAffected versionsFixed 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.3.0, < 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

References