{"id":"CVE-2021-22197","details":"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","aliases":["BIT-gitlab-2021-22197"],"modified":"2026-04-10T04:29:59.553761Z","published":"2021-04-02T17:15:12.677Z","references":[{"type":"ADVISORY","url":"https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-22197.json"},{"type":"REPORT","url":"https://gitlab.com/gitlab-org/gitlab/-/issues/323198"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://gitlab.com/gitlab-org/gitlab","events":[{"introduced":"3d59f5643aa87ca1fc506bf1ad37262d8ca6b4d6"},{"fixed":"2378e1fea098afa15fc0bd4aa52a102c0c1c31b4"},{"introduced":"3d59f5643aa87ca1fc506bf1ad37262d8ca6b4d6"},{"fixed":"2378e1fea098afa15fc0bd4aa52a102c0c1c31b4"},{"introduced":"a1a60e9f753f4e99f2b13b24028a6092a897cc06"},{"fixed":"b5cf6b82d7d8da2f4bccaa1c3018bfdff36963dd"},{"introduced":"a1a60e9f753f4e99f2b13b24028a6092a897cc06"},{"fixed":"b5cf6b82d7d8da2f4bccaa1c3018bfdff36963dd"},{"introduced":"0d2d9558dba50b1496bf368954318d465825e8e3"},{"fixed":"b91b666b65e7c56e9380bd1ce6b5a05d00ac37f2"},{"introduced":"0d2d9558dba50b1496bf368954318d465825e8e3"},{"fixed":"b91b666b65e7c56e9380bd1ce6b5a05d00ac37f2"}],"database_specific":{"versions":[{"introduced":"10.6.0"},{"fixed":"13.8.7"},{"introduced":"10.6.0"},{"fixed":"13.8.7"},{"introduced":"13.9.0"},{"fixed":"13.9.5"},{"introduced":"13.9.0"},{"fixed":"13.9.5"},{"introduced":"13.10.0"},{"fixed":"13.10.1"},{"introduced":"13.10.0"},{"fixed":"13.10.1"}]}}],"versions":["v13.10.0-ee","v13.9.0-ee","v13.9.1-ee","v13.9.3-ee"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-22197.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L"}]}