What’s Vulnerable › Vulnerabilities
CVE-2022-4205
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.6% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2023-01-27 · updated 2026-06-17
- Weakness: CWE-843
Description
In Gitlab EE/CE before 15.6.1, 15.5.5 and 15.4.6 using a branch with a hexadecimal name could override an existing hash.
Affected products
- GitLab: from 1.0.0 before 12.9.8; from 15.5.0 before 15.5.5; 15.6.0 — fixed in 12.9.8, 15.5.5
How to fix
Upgrade to a fixed version: GitLab 12.9.8, 15.5.5. Check the vendor advisory for mitigations.
References
- https://gitlab.com/gitlab-org/cves/-/blob/master/2022/CVE-2022-4205.json
- https://gitlab.com/gitlab-org/gitlab/-/issues/374082
- https://gitlab.com/gitlab-org/cves/-/blob/master/2022/CVE-2022-4205.json
- https://gitlab.com/gitlab-org/gitlab/-/issues/374082
Get alerted when CVE-2022-4205 or the next vulnerability affects your stack