{ "id": "CVE-2022-2251", "sourceIdentifier": "cve@gitlab.com", "published": "2023-01-17T21:15:12.343", "lastModified": "2023-01-25T03:34:04.043", "vulnStatus": "Analyzed", "descriptions": [ { "lang": "en", "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." } ], "metrics": { "cvssMetricV31": [ { "source": "nvd@nist.gov", "type": "Primary", "cvssData": { "version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "REQUIRED", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH", "baseScore": 8.0, "baseSeverity": "HIGH" }, "exploitabilityScore": 2.1, "impactScore": 5.9 }, { "source": "cve@gitlab.com", "type": "Secondary", "cvssData": { "version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:N/A:N", "attackVector": "NETWORK", "attackComplexity": "HIGH", "privilegesRequired": "LOW", "userInteraction": "REQUIRED", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "NONE", "availabilityImpact": "NONE", "baseScore": 4.8, "baseSeverity": "MEDIUM" }, "exploitabilityScore": 1.2, "impactScore": 3.6 } ] }, "weaknesses": [ { "source": "nvd@nist.gov", "type": "Primary", "description": [ { "lang": "en", "value": "CWE-77" } ] } ], "configurations": [ { "nodes": [ { "operator": "OR", "negate": false, "cpeMatch": [ { "vulnerable": true, "criteria": "cpe:2.3:a:gitlab:runner:*:*:*:*:*:*:*:*", "versionEndExcluding": "15.3.5", "matchCriteriaId": "73A6B94A-F343-4F43-A708-7CA3CE8A5203" }, { "vulnerable": true, "criteria": "cpe:2.3:a:gitlab:runner:*:*:*:*:*:*:*:*", "versionStartIncluding": "15.4.0", "versionEndExcluding": "15.4.4", "matchCriteriaId": "54F77ADD-47C6-4A4B-B442-1AE84836DF50" }, { "vulnerable": true, "criteria": "cpe:2.3:a:gitlab:runner:*:*:*:*:*:*:*:*", "versionStartIncluding": "15.5.0", "versionEndExcluding": "15.5.2", "matchCriteriaId": "DE8EBC82-6C6D-4AEF-8BB0-DCE8A4EBCD7F" } ] } ] } ], "references": [ { "url": "https://gitlab.com/gitlab-org/cves/-/blob/master/2022/CVE-2022-2251.json", "source": "cve@gitlab.com", "tags": [ "Vendor Advisory" ] }, { "url": "https://gitlab.com/gitlab-org/gitlab-runner/-/issues/27386", "source": "cve@gitlab.com", "tags": [ "Exploit", "Issue Tracking", "Vendor Advisory" ] }, { "url": "https://hackerone.com/reports/1063511", "source": "cve@gitlab.com", "tags": [ "Permissions Required", "Third Party Advisory" ] } ] }