# CVE-2021-22197: An issue has been discovered in GitLab CE/EE affecting all versions starting from 10.6 where an infinite loop exist when an authenticated u…

- Severity: Low 3.5 (CVSS:3.1, scored by GitLab) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.84%, higher than 59% of CVEs (2026-12-01)
- Published: 2021-04-02T16:21:24.000Z
- Modified: 2026-09-08T08:48:23.084Z
- Also known as: BIT-GITLAB-2021-22197
- Weaknesses: CWE-835
- Assigned by: GitLab

## 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

(As written by CVE List.)

## Affected

- GitLab GitLab: >=10.6, <13.8.7; >=13.9, <13.9.5; >=13.10, <13.10.1; from 10.6.0 before 13.8.7; from 13.9.0 before 13.9.5; from 13.10.0 before 13.10.1
- gitlab (Bitnami): from 10.6.0 before 13.8.7; from 13.9.0 before 13.9.5; from 13.10.0 before 13.10.1

## Every score

- GitLab: CVSS:3.1 3.5 Low `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L`
- NVD: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L`
- NVD: CVSS:2.0 4.0 Medium `AV:N/AC:L/Au:S/C:N/I:N/A:P`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://gitlab.com/gitlab-org/gitlab/-/issues/323198> (broken-link, web)
- <https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-22197.json> (advisory, vendor-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-22197> (web)

## Sources

- CVE List: [CVE-2021-22197](https://www.cve.org/CVERecord?id=CVE-2021-22197), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-22197](https://nvd.nist.gov/vuln/detail/CVE-2021-22197), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-GITLAB-2021-22197](https://osv.dev/vulnerability/BIT-GITLAB-2021-22197), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2021-22197 · Whole record: https://cve.day/CVE-2021-22197.json · Rebuilt by cve.day 2026-11-25T22:58:00.565Z
