CVE-2022-2251

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.

Affected Software

VendorProductVersion RangeStatus
GitLabGitLab Runner<15.3.5affected
GitLabGitLab Runner>=15.4, <15.4.4affected
GitLabGitLab Runner>=15.5, <15.5.2affected

Weaknesses

  • Improper neutralization of special elements used in an os command ('os command injection') in GitLab Runner

ADP Enrichment

CVE Program Container

Additional References

CISA ADP Vulnrichment

  • SSVC:
  • Exploitation: none
    • Automatable: no
    • Technical Impact: total

References