What’s Vulnerable › Vulnerabilities
CVE-2022-2417
- Severity: medium (CVSS 4.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.7% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2022-08-05 · updated 2026-06-17
- Weakness: CWE-20
Description
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.
Affected products
- GitLab: from 12.10.0 before 15.0.5; from 15.1.0 before 15.1.4; 15.2 — fixed in 15.0.5, 15.1.4
How to fix
Upgrade to a fixed version: GitLab 15.0.5, 15.1.4. Check the vendor advisory for mitigations.
References
- https://gitlab.com/gitlab-org/cves/-/blob/master/2022/CVE-2022-2417.json
- https://gitlab.com/gitlab-org/gitlab/-/issues/361179
- https://gitlab.com/gitlab-org/cves/-/blob/master/2022/CVE-2022-2417.json
- https://gitlab.com/gitlab-org/gitlab/-/issues/361179
Get alerted when CVE-2022-2417 or the next vulnerability affects your stack