{"id":"CVE-2021-22197","aliases":["BIT-gitlab-2021-22197","EUVD-2021-9343","GHSA-74q6-7f58-9g77","UBUNTU-CVE-2021-22197"],"status":"published","title":"An issue has been discovered in GitLab CE/EE affecting all versions starting from 10.6 where an...","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","severity":{"version":"3.1","score":3.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L","level":"low","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-11","score":0.00845,"percentile":0.58424,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-835"],"published":"2021-04-02T16:21:24Z","modified":"2026-10-30T10:30:27Z","fixes":[{"ecosystem":"Bitnami","package":"gitlab","fixed_in":["13.8.7","13.9.5","13.10.1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Bitnami","package":"gitlab","ranges":[{"type":"SEMVER","events":[{"introduced":"10.6.0"},{"fixed":"13.8.7"},{"introduced":"13.9.0"},{"fixed":"13.9.5"},{"introduced":"13.10.0"},{"fixed":"13.10.1"}]}]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"gitlab","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["8.4.3+dfsg-9","8.4.3+dfsg-12","8.5.8+dfsg-5"]}],"products":[{"vendor":"gitlab","product":"gitlab"}],"references":[{"url":"https://gitlab.com/gitlab-org/gitlab/-/issues/323198","tags":["x_refsource_MISC","x_transferred","Broken Link","web","report"]},{"url":"https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-22197.json","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory","advisory","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-22197","tags":["web"]},{"url":"https://github.com/advisories/GHSA-74q6-7f58-9g77"},{"url":"https://ubuntu.com/security/CVE-2021-22197","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-22197","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2021-22197","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","status":"published","published":"2021-04-02T16:21:24Z","modified":"2024-08-03T18:37:17.487Z","cvss":[{"version":"3.1","score":3.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L","level":"low","assessor":"cna"}],"updated_at":"2026-11-02T14:32:58.028461Z"}],"euvd":[{"id":"EUVD-2021-9343","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","status":"published","published":"2021-04-02T16:21:24Z","modified":"2024-08-03T18:37:17Z","cvss":[{"version":"3.1","score":3.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L","level":"low"}],"updated_at":"2026-11-03T03:25:03.638882Z"}],"ghsa":[{"id":"GHSA-74q6-7f58-9g77","title":"An issue has been discovered in GitLab CE/EE affecting all versions starting from 10.6 where an...","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","status":"published","published":"2022-05-24T17:46:25Z","modified":"2024-08-21T15:30:49Z","cvss":[{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L","level":"medium"}],"cwes":["CWE-835"],"updated_at":"2026-11-02T14:58:01.859506Z"}],"nvd":[{"id":"CVE-2021-22197","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","status":"published","published":"2021-04-02T17:15:12.677Z","modified":"2026-06-17T03:36:47.09Z","cvss":[{"version":"3.1","score":3.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L","level":"low","assessor":"secondary"},{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L","level":"medium","assessor":"primary"},{"version":"2.0","score":4,"vector":"AV:N/AC:L/Au:S/C:N/I:N/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-835"],"updated_at":"2026-11-02T14:06:51.197859Z"}],"osv":[{"id":"CVE-2021-22197","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","status":"published","published":"2021-04-02T17:15:12.677Z","modified":"2026-10-30T10:30:27.897283267Z","cvss":[{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L","level":"medium"}],"updated_at":"2026-11-02T15:44:18.367807Z"},{"id":"UBUNTU-CVE-2021-22197","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","status":"published","published":"2021-04-02T17:15:00Z","modified":"2025-10-24T04:50:07Z","cvss":[{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L","level":"medium"},{"version":"3.1","score":3.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L","level":"low"}],"updated_at":"2026-11-02T15:54:26.29421Z"},{"id":"BIT-gitlab-2021-22197","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","status":"published","published":"2024-03-06T11:20:10.826Z","modified":"2026-09-08T08:48:23.084896606Z","updated_at":"2026-11-02T15:28:29.999658Z"}]}}
