CVE-2022-46258

An incorrect authorization vulnerability was identified in GitHub Enterprise Server that allowed a repository-scoped token with read/write access to modify Action Workflow files without a Workflow scope. The Create or Update file contents API should enforce workflow scope. This vulnerability affected all versions of GitHub Enterprise Server prior to version 3.7 and was fixed in versions 3.3.16, 3.4.11, 3.5.8, and 3.6.4. 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:*:*:*:*:*:*:*:*
cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:*

History

21 Nov 2024, 07:30

Type Values Removed Values Added
References () https://docs.github.com/en/enterprise-server%403.3/admin/release-notes#3.3.16 - () https://docs.github.com/en/enterprise-server%403.3/admin/release-notes#3.3.16 -
References () https://docs.github.com/en/enterprise-server%403.4/admin/release-notes#3.4.11 - () https://docs.github.com/en/enterprise-server%403.4/admin/release-notes#3.4.11 -
References () https://docs.github.com/en/enterprise-server%403.5/admin/release-notes#3.5.8 - () https://docs.github.com/en/enterprise-server%403.5/admin/release-notes#3.5.8 -
References () https://docs.github.com/en/enterprise-server%403.6/admin/release-notes#3.6.4 - () https://docs.github.com/en/enterprise-server%403.6/admin/release-notes#3.6.4 -
Summary
  • (es) Se identificó una vulnerabilidad de autorización incorrecta en GitHub Enterprise Server que permitía que un token con alcance de repositorio con acceso de lectura/escritura modificara archivos de flujo de trabajo de acción sin un alcance de flujo de trabajo. La API Crear o actualizar el contenido del archivo debe aplicar el alcance del flujo de trabajo. Esta vulnerabilidad afectó a todas las versiones de GitHub Enterprise Server anteriores a la versión 3.7 y se solucionó en las versiones 3.3.16, 3.4.11, 3.5.8 y 3.6.4. Esta vulnerabilidad se informó a través del programa GitHub Bug Bounty.

07 Nov 2023, 03:55

Type Values Removed Values Added
References
  • {'url': 'https://docs.github.com/en/enterprise-server@3.5/admin/release-notes#3.5.8', 'name': 'https://docs.github.com/en/enterprise-server@3.5/admin/release-notes#3.5.8', 'tags': ['Release Notes', 'Third Party Advisory'], 'refsource': 'MISC'}
  • {'url': 'https://docs.github.com/en/enterprise-server@3.4/admin/release-notes#3.4.11', 'name': 'https://docs.github.com/en/enterprise-server@3.4/admin/release-notes#3.4.11', 'tags': ['Release Notes', 'Third Party Advisory'], 'refsource': 'MISC'}
  • {'url': 'https://docs.github.com/en/enterprise-server@3.6/admin/release-notes#3.6.4', 'name': 'https://docs.github.com/en/enterprise-server@3.6/admin/release-notes#3.6.4', 'tags': ['Release Notes', 'Third Party Advisory'], 'refsource': 'MISC'}
  • {'url': 'https://docs.github.com/en/enterprise-server@3.3/admin/release-notes#3.3.16', 'name': 'https://docs.github.com/en/enterprise-server@3.3/admin/release-notes#3.3.16', 'tags': ['Release Notes', 'Third Party Advisory'], 'refsource': 'MISC'}
  • () https://docs.github.com/en/enterprise-server%403.3/admin/release-notes#3.3.16 -
  • () https://docs.github.com/en/enterprise-server%403.6/admin/release-notes#3.6.4 -
  • () https://docs.github.com/en/enterprise-server%403.5/admin/release-notes#3.5.8 -
  • () https://docs.github.com/en/enterprise-server%403.4/admin/release-notes#3.4.11 -

Information

Published : 2023-01-09 17:15

Updated : 2024-11-21 07:30


NVD link : CVE-2022-46258

Mitre link : CVE-2022-46258

CVE.ORG link : CVE-2022-46258


JSON object : View

Products Affected

github

  • enterprise_server
CWE
CWE-863

Incorrect Authorization