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.
{
"cna_assigner": "GitLab",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/2xxx/CVE-2022-2251.json",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"fixed": "15.3.5"
},
{
"introduced": "15.4"
},
{
"fixed": "15.4.4"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
}
]
}
]
}{
"extracted_events": [
{
"range": [
{
"introduced": "15.5"
},
{
"fixed": "15.5.2"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"cpe": "cpe:2.3:a:gitlab:runner:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "15.5.0"
},
{
"fixed": "15.5.2"
}
],
"source": "CPE_RANGE"
}
]
}