CVE-2022-2251

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-2251
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-2251.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-2251
Aliases
Downstream
Published
2023-01-17T00:00:00Z
Modified
2025-12-04T10:09:50.070597Z
Severity
  • 4.8 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:N/A:N CVSS Calculator
Summary
[none]
Details

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.

Database specific
{
    "cna_assigner": "GitLab",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/2xxx/CVE-2022-2251.json"
}
References

Affected packages

Git / github.com/gitlabhq/gitlab-runner

Affected ranges

Type
GIT
Repo
https://github.com/gitlabhq/gitlab-runner
Events

Affected versions

v15.*

v15.5.0
v15.5.1

Git / gitlab.com/gitlab-org/gitlab-runner

Affected ranges

Type
GIT
Repo
https://gitlab.com/gitlab-org/gitlab-runner
Events
Database specific
{
    "versions": [
        {
            "introduced": "15.5"
        },
        {
            "fixed": "15.5.2"
        }
    ]
}

Affected versions

v15.*

v15.5.0
v15.5.1