CVE-2022-46257 Information disclosure in GitHub Enterprise Server leading to unauthorized viewing of private repository names
An attacker with runner group permissions can leak private repository names by guessing IDs, exposing sensitive metadata to unauthorized users.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2022-46257?
CVE-2022-46257 is a medium-severity vulnerability in Github Enterprise Server, published on 7 Mar 2023. Any signed-in user can exploit it over the network, with no action from the victim.
Official 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.
Which versions are affected by CVE-2022-46257?
It affects 1 product.
Products include Github Enterprise Server.
How do I fix CVE-2022-46257?
No fix has been published for CVE-2022-46257 yet. Limit exposure of the affected software until one is available.
Is CVE-2022-46257 being exploited?
There is no known exploitation of CVE-2022-46257 in the wild and no public exploit code.
Other vulnerabilities in Github Enterprise Server
- CVE-2024-4985 Auth bypass in Enterprise Server
- CVE-2022-23739 Missing authorization in GitHub Enterprise Server
- CVE-2022-46255 Improper Limitation of a Pathname to a Restricted Directory in GitHub Enterprise Server leading to RCE
- CVE-2021-22869 Improper access control in GitHub Enterprise Server allows self-hosted runners to execute outside their control group
- CVE-2024-9487 Auth bypass in Enterprise Server
Sources
Also known as GHSA-6mf2-c677-chpv.