2022-06-29 12:00:45 +00:00
{
"data_type" : "CVE" ,
"data_format" : "MITRE" ,
"data_version" : "4.0" ,
"CVE_data_meta" : {
"ID" : "CVE-2022-2251" ,
2023-01-17 21:00:43 +00:00
"ASSIGNER" : "cve@gitlab.com" ,
"STATE" : "PUBLIC"
} ,
"affects" : {
"vendor" : {
"vendor_data" : [
{
"vendor_name" : "GitLab" ,
"product" : {
"product_data" : [
{
"product_name" : "GitLab Runner" ,
"version" : {
"version_data" : [
{
"version_value" : "<15.3.5"
} ,
{
"version_value" : ">=15.4, <15.4.4"
} ,
{
"version_value" : ">=15.5, <15.5.2"
}
]
}
}
]
}
}
]
}
} ,
"problemtype" : {
"problemtype_data" : [
{
"description" : [
{
"lang" : "eng" ,
"value" : "Improper neutralization of special elements used in an os command ('os command injection') in GitLab Runner"
}
]
}
]
} ,
"references" : {
"reference_data" : [
{
"name" : "https://gitlab.com/gitlab-org/gitlab-runner/-/issues/27386" ,
"url" : "https://gitlab.com/gitlab-org/gitlab-runner/-/issues/27386" ,
"refsource" : "MISC"
} ,
{
"name" : "https://hackerone.com/reports/1063511" ,
"url" : "https://hackerone.com/reports/1063511" ,
"refsource" : "MISC"
} ,
{
"name" : "https://gitlab.com/gitlab-org/cves/-/blob/master/2022/CVE-2022-2251.json" ,
"url" : "https://gitlab.com/gitlab-org/cves/-/blob/master/2022/CVE-2022-2251.json" ,
"refsource" : "CONFIRM"
}
]
2022-06-29 12:00:45 +00:00
} ,
"description" : {
"description_data" : [
{
"lang" : "eng" ,
2023-01-17 21:00:43 +00:00
"value" : "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."
2022-06-29 12:00:45 +00:00
}
]
2023-01-17 21:00:43 +00:00
} ,
"impact" : {
"cvss" : {
"vectorString" : "AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:N/A:N" ,
"attackComplexity" : "HIGH" ,
"attackVector" : "NETWORK" ,
"availabilityImpact" : "NONE" ,
"confidentialityImpact" : "HIGH" ,
"integrityImpact" : "NONE" ,
"privilegesRequired" : "LOW" ,
"scope" : "UNCHANGED" ,
"userInteraction" : "REQUIRED" ,
"version" : "3.1" ,
"baseScore" : 4.8 ,
"baseSeverity" : "MEDIUM"
}
} ,
"credit" : [
{
"lang" : "eng" ,
"value" : "Thanks [stanlyoncm](https://hackerone.com/stanlyoncm) for reporting this vulnerability through our HackerOne bug bounty program"
}
]
2022-06-29 12:00:45 +00:00
}