Information disclosure in GitHub Enterprise Server leading to unauthorized viewing of private repository names
CVE-2022-46257
Key Information:
- Vendor
Github
- Status
- CVE ID
- CVE ID:
- CVE-2022-46257
- Vendor
- CVE Published:
- 7 March 2023
- Fixed in
- Fixed in:
- 3.3.17, 3.4.12, 3.5.9 +1 more
Timeline
Vulnerability published
Vulnerability Reserved
How risky is it?
- Partly: Works over the network, but needs a login
- No: No public exploit yet
- No: Not on CISA's exploited list
- No: No ransomware use seen
Our verdict
Monitor
Low risk for most. Patch in your normal cycle.
What to do
1Update to a fixed version
Install the GitHub Enterprise Server release that fixes your version line, or later:
2Can't patch yet? Reduce exposure
It can be reached over the network, so limit who can reach GitHub Enterprise Server. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.
3Why it's rated "Monitor"
- Its CVSS severity is medium (4.3).
What is CVE-2022-46257?
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.
References
More Github Vulnerabilities
Improper Neutralization Vulnerability in GitHub Enterprise Server
Remote Code Execution Vulnerability in GitHub Enterprise Server
Cryptographic Signature Spoofing Vulnerability in GitHub Enterprise Server
Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities · Report a correction