CVE-2021-22862

CVSS V2 Medium 4 CVSS V3 Medium 6.5
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.
Overview
  • CVE ID
  • CVE-2021-22862
  • Assigner
  • product-cna@github.com
  • Vulnerability Status
  • Analyzed
  • Published Version
  • 2021-03-03T04:15:13
  • Last Modified Date
  • 2022-10-25T14:03:18
CPE Configuration (Product)
CPE Vulnerable Operator Version Start Version End
cpe:2.3:a:github:github:3.0.0:-:*:*:*:*:*:* 1 OR
cpe:2.3:a:github:github:3.0.0:rc1:*:*:*:*:*:* 1 OR
cpe:2.3:a:github:github:3.0.0:rc2:*:*:*:*:*:* 1 OR
CVSS Version 2
  • Version
  • 2.0
  • Vector String
  • AV:N/AC:L/Au:S/C:P/I:N/A:N
  • Access Vector
  • NETWORK
  • Access Compatibility
  • LOW
  • Authentication
  • SINGLE
  • Confidentiality Impact
  • PARTIAL
  • Integrity Impact
  • NONE
  • Availability Impact
  • NONE
  • Base Score
  • 4
  • Severity
  • MEDIUM
  • Exploitability Score
  • 8
  • Impact Score
  • 2.9
CVSS Version 3
  • Version
  • 3.1
  • Vector String
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
  • Attack Vector
  • NETWORK
  • Attack Compatibility
  • LOW
  • Privileges Required
  • LOW
  • User Interaction
  • NONE
  • Scope
  • UNCHANGED
  • Confidentiality Impact
  • HIGH
  • Availability Impact
  • NONE
  • Base Score
  • 6.5
  • Base Severity
  • MEDIUM
  • Exploitability Score
  • 2.8
  • Impact Score
  • 3.6
References
Reference URL Reference Tags
https://docs.github.com/en/enterprise-server@3.0/admin/release-notes#3.0.1 Release Notes Vendor Advisory
History
Created Old Value New Value Data Type Notes
2022-05-10 07:20:36 Added to TrackCVE
2022-12-05 23:01:50 2021-03-03T04:15Z 2021-03-03T04:15:13 CVE Published Date updated
2022-12-05 23:01:50 2022-10-25T14:03:18 CVE Modified Date updated
2022-12-05 23:01:50 Analyzed Vulnerability Status updated