Skip to main content
← All vulnerabilities
CVE-2022-2251

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.

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 15.3.5, 15.4.4, 15.5.2
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • GitLab GitLab Runner

    fixed in 15.3.5; From 15.4 · fixed in 15.4.4; From 15.5 · fixed in 15.5.2

References 3

gitlab.com

hackerone.com