CVE-2021-22862
Summary
| CVE | CVE-2021-22862 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2021-03-03 04:15:00 UTC |
| Updated | 2023-11-07 03:30:00 UTC |
| Description | An improper access control vulnerability was identified in GitHub Enterprise Server that allowed an authenticated user with the ability to fork a repository to disclose Actions secrets for the parent repository of the fork. This vulnerability existed due to a flaw that allowed the base reference of a pull request to be updated to point to an arbitrary SHA or another pull request outside of the fork repository. By establishing this incorrect reference in a PR, the restrictions that limit the Actions secrets sent a workflow from forks could be bypassed. This vulnerability affected GitHub Enterprise Server version 3.0.0, 3.0.0.rc2, and 3.0.0.rc1. This vulnerability was reported via the GitHub Bug Bounty program. |
Risk And Classification
Problem Types: NVD-CWE-Other
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Github | Github | 3.0.0 | - | All | All |
| Application | Github | Github | 3.0.0 | rc1 | All | All |
| Application | Github | Github | 3.0.0 | rc2 | All | All |
| Application | Github | Github | 3.0.0 | - | All | All |
| Application | Github | Github | 3.0.0 | rc1 | All | All |
| Application | Github | Github | 3.0.0 | rc2 | All | All |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| Release notes - GitHub Docs | MISC | docs.github.com | Release Notes, Vendor Advisory |
| Release notes - GitHub Docs | docs.github.com | ||
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
LEGACY: Teddy Katz
There are currently no legacy QID mappings associated with this CVE.