CVE-2022-2251
Severity CVSS v4.0:
Pending analysis
Type:
CWE-78
OS Command Injections
Publication date:
17/01/2023
Last modified:
08/04/2025
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.
Impact
Base Score 3.x
4.80
Severity 3.x
MEDIUM
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:a:gitlab:runner:*:*:*:*:*:*:*:* | 15.3.5 (excluding) | |
| cpe:2.3:a:gitlab:runner:*:*:*:*:*:*:*:* | 15.4.0 (including) | 15.4.4 (excluding) |
| cpe:2.3:a:gitlab:runner:*:*:*:*:*:*:*:* | 15.5.0 (including) | 15.5.2 (excluding) |
To consult the complete list of CPE names with products and versions, see this page
References to Advisories, Solutions, and Tools
- https://gitlab.com/gitlab-org/cves/-/blob/master/2022/CVE-2022-2251.json
- https://gitlab.com/gitlab-org/gitlab-runner/-/issues/27386
- https://hackerone.com/reports/1063511
- https://gitlab.com/gitlab-org/cves/-/blob/master/2022/CVE-2022-2251.json
- https://gitlab.com/gitlab-org/gitlab-runner/-/issues/27386
- https://hackerone.com/reports/1063511



