CVE-2021-22870

A path traversal vulnerability was identified in GitHub Pages builds on GitHub Enterprise Server that could allow an attacker to read system files. To exploit this vulnerability, an attacker would need permission to create and build a GitHub Pages site on the GitHub Enterprise Server instance. This vulnerability affected all versions of GitHub Enterprise Server prior to 3.3 and was fixed in versions 3.0.19, 3.1.11, and 3.2.3. This vulnerability was reported via the GitHub Bug Bounty program.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:*
cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:*
cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:*

History

07 Nov 2023, 03:30

Type Values Removed Values Added
References
  • {'url': 'https://docs.github.com/en/enterprise-server@3.2/admin/release-notes#3.2.3', 'name': 'https://docs.github.com/en/enterprise-server@3.2/admin/release-notes#3.2.3', 'tags': ['Release Notes', 'Third Party Advisory'], 'refsource': 'MISC'}
  • {'url': 'https://docs.github.com/en/enterprise-server@3.1/admin/release-notes#3.1.11', 'name': 'https://docs.github.com/en/enterprise-server@3.1/admin/release-notes#3.1.11', 'tags': ['Release Notes', 'Third Party Advisory'], 'refsource': 'MISC'}
  • {'url': 'https://docs.github.com/en/enterprise-server@3.0/admin/release-notes#3.0.19', 'name': 'https://docs.github.com/en/enterprise-server@3.0/admin/release-notes#3.0.19', 'tags': ['Release Notes', 'Third Party Advisory'], 'refsource': 'MISC'}
  • () https://docs.github.com/en/enterprise-server%403.2/admin/release-notes#3.2.3 -
  • () https://docs.github.com/en/enterprise-server%403.0/admin/release-notes#3.0.19 -
  • () https://docs.github.com/en/enterprise-server%403.1/admin/release-notes#3.1.11 -

Information

Published : 2021-11-10 02:15

Updated : 2024-02-28 18:48


NVD link : CVE-2021-22870

Mitre link : CVE-2021-22870

CVE.ORG link : CVE-2021-22870


JSON object : View

Products Affected

github

  • enterprise_server
CWE
CWE-22

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

CWE-23

Relative Path Traversal