CVE-2022-2251

high

Description

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

https://hackerone.com/reports/1063511

https://gitlab.com/gitlab-org/gitlab-runner/-/issues/27386

https://gitlab.com/gitlab-org/cves/-/blob/master/2022/CVE-2022-2251.json

Details

Source: Mitre, NVD

Published: 2023-01-17

Updated: 2023-08-08

Risk Information

CVSS v2

Base Score: 9

Vector: CVSS2#AV:N/AC:L/Au:S/C:C/I:C/A:C

Severity: High

CVSS v3

Base Score: 8

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H

Severity: High