CVE-2022-2251

Improper sanitization of branch names in GitLab Runner affecting all versions prior to 15.3.5, 15.4 prior to 15.4.4, and 15.5 prior to 15.5.2 allows a user who creates a branch with a specially crafted name and gets another user to trigger a pipeline to execute commands in the runner as that other user.
References
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:gitlab:runner:*:*:*:*:*:*:*:*
cpe:2.3:a:gitlab:runner:*:*:*:*:*:*:*:*
cpe:2.3:a:gitlab:runner:*:*:*:*:*:*:*:*

History

21 Nov 2024, 07:00

Type Values Removed Values Added
Summary
  • (es) La desinfección inadecuada de los nombres de las ramas en GitLab Runner que afecta a todas las versiones anteriores a la 15.3.5, 15.4 anterior a la 15.4.4 y 15.5 anterior a la 15.5.2 permite que un usuario cree una rama con un nombre especialmente manipulado y consiga que otro usuario active un pipeline para ejecutar comandos en el ejecutor como ese otro usuario.
References () https://gitlab.com/gitlab-org/cves/-/blob/master/2022/CVE-2022-2251.json - Vendor Advisory () https://gitlab.com/gitlab-org/cves/-/blob/master/2022/CVE-2022-2251.json - Vendor Advisory
References () https://gitlab.com/gitlab-org/gitlab-runner/-/issues/27386 - Exploit, Issue Tracking, Vendor Advisory () https://gitlab.com/gitlab-org/gitlab-runner/-/issues/27386 - Exploit, Issue Tracking, Vendor Advisory
References () https://hackerone.com/reports/1063511 - Permissions Required, Third Party Advisory () https://hackerone.com/reports/1063511 - Permissions Required, Third Party Advisory
CVSS v2 : unknown
v3 : 8.0
v2 : unknown
v3 : 4.8

08 Aug 2023, 14:22

Type Values Removed Values Added
CWE CWE-77 CWE-78

Information

Published : 2023-01-17 21:15

Updated : 2024-11-21 07:00


NVD link : CVE-2022-2251

Mitre link : CVE-2022-2251

CVE.ORG link : CVE-2022-2251


JSON object : View

Products Affected

gitlab

  • runner
CWE
CWE-78

Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')