CVE-2021-22861

CVSS V2 Medium 4 CVSS V3 Medium 6.5
Description
An improper access control vulnerability was identified in GitHub Enterprise Server that allowed authenticated users of the instance to gain write access to unauthorized repositories via specifically crafted pull requests and REST API requests. An attacker would need to be able to fork the targeted repository, a setting that is disabled by default for organization owned private repositories. Branch protections such as required pull request reviews or status checks would prevent unauthorized commits from being merged without further review or validation. This vulnerability affected all versions of GitHub Enterprise Server since 2.4.21 and was fixed in versions 2.20.24, 2.21.15, 2.22.7 and 3.0.1. This vulnerability was reported via the GitHub Bug Bounty program.
Overview
  • CVE ID
  • CVE-2021-22861
  • Assigner
  • product-cna@github.com
  • Vulnerability Status
  • Analyzed
  • Published Version
  • 2021-03-03T04:15:13
  • Last Modified Date
  • 2022-10-25T13:09:27
CPE Configuration (Product)
CPE Vulnerable Operator Version Start Version End
cpe:2.3:a:github:github:*:*:*:*:enterprise:*:*:* 1 OR 2.4.21 2.20.24
cpe:2.3:a:github:github:*:*:*:*:enterprise:*:*:* 1 OR 2.21.0 2.21.15
cpe:2.3:a:github:github:*:*:*:*:enterprise:*:*:* 1 OR 2.22.0 2.22.7
cpe:2.3:a:github:github:*:*:*:*:*:*:*:* 1 OR 3.0.0 3.0.1
CVSS Version 2
  • Version
  • 2.0
  • Vector String
  • AV:N/AC:L/Au:S/C:N/I:P/A:N
  • Access Vector
  • NETWORK
  • Access Compatibility
  • LOW
  • Authentication
  • SINGLE
  • Confidentiality Impact
  • NONE
  • Integrity Impact
  • PARTIAL
  • 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:N/I:H/A:N
  • Attack Vector
  • NETWORK
  • Attack Compatibility
  • LOW
  • Privileges Required
  • LOW
  • User Interaction
  • NONE
  • Scope
  • UNCHANGED
  • Confidentiality Impact
  • NONE
  • Availability Impact
  • NONE
  • Base Score
  • 6.5
  • Base Severity
  • MEDIUM
  • Exploitability Score
  • 2.8
  • Impact Score
  • 3.6
History
Created Old Value New Value Data Type Notes
2022-05-10 07:20:36 Added to TrackCVE
2022-12-05 23:01:46 2021-03-03T04:15Z 2021-03-03T04:15:13 CVE Published Date updated
2022-12-05 23:01:46 2022-10-25T13:09:27 CVE Modified Date updated
2022-12-05 23:01:46 Analyzed Vulnerability Status updated