What’s Vulnerable › Vulnerabilities
CVE-2021-22197
- Severity: medium (CVSS 4.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.8% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2021-04-02 · updated 2026-06-17
- Weakness: CWE-835
Description
An issue has been discovered in GitLab CE/EE affecting all versions starting from 10.6 where an infinite loop exist when an authenticated user with specific rights access a MR having source and target branch pointing to each other
Affected products
- GitLab: from 10.6.0 before 13.8.7; from 13.9.0 before 13.9.5; from 13.10.0 before 13.10.1 — fixed in 13.10.1, 13.8.7, 13.9.5
How to fix
Upgrade to a fixed version: GitLab 13.10.1, 13.8.7, 13.9.5. Check the vendor advisory for mitigations.
References
- https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-22197.json
- https://gitlab.com/gitlab-org/gitlab/-/issues/323198
- https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-22197.json
- https://gitlab.com/gitlab-org/gitlab/-/issues/323198
Get alerted when CVE-2021-22197 or the next vulnerability affects your stack