CVE-2022-2417Gitlab
Medium 4.5
Follow: this CVE · Gitlab · Gitlab We alert you by email or Slack (account required).
- Priority
- 27
- CVSS 3.1
- 4.5
- EPSS
- 0.7% probability of exploitation in 30 days · percentile 50
- Auth required
- Yes
- Published
- Aug 5, 2022
- Updated
- Jun 17, 2026
- Category
- Server · Cross-platform
- Weakness (CWE)
- CWE-20
- Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:N/I:H/A:N
What happens
Insufficient validation in GitLab CE/EE affecting all versions from 12.10 prior to 15.0.5, 15.1 prior to 15.1.4, and 15.2 prior to 15.2.1 allows an authenticated and authorised user to import a project that includes branch names which are 40 hexadecimal characters, which could be abused in supply chain attacks where a victim pinned to a specific Git commit of the project.
What to do
- Apply the vendor's security update for Gitlab.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| gitlab | gitlab | ≥ 12.10.0 < 15.0.5 |
| gitlab | gitlab | ≥ 15.1.0 < 15.1.4 |
| gitlab | gitlab | 15.2 |
| gitlab | gitlab | ≥ 12.10.0 < 15.0.5 |
| gitlab | gitlab | ≥ 15.1.0 < 15.1.4 |
| gitlab | gitlab | 15.2 |
Official sources
References
Links published by the sources. Open them with care.
- gitlab.com Vendor Advisory
- gitlab.com Broken Link Vendor Advisory