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
https://gitlab.com/gitlab-org/gitlab/-/issues/323198
https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-22197.json