{"api_version":"1","generated_at":"2026-07-23T13:25:42+00:00","cve":"CVE-2021-22197","urls":{"html":"https://cve.report/CVE-2021-22197","api":"https://cve.report/api/cve/CVE-2021-22197.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-22197","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-22197"},"summary":{"title":"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","state":"PUBLIC","assigner":"cve@gitlab.com","published_at":"2021-04-02 17:15:00","updated_at":"2021-04-07 15:56:00"},"problem_types":["CWE-835"],"metrics":[],"references":[{"url":"https://gitlab.com/gitlab-org/gitlab/-/issues/323198","name":"https://gitlab.com/gitlab-org/gitlab/-/issues/323198","refsource":"MISC","tags":[],"title":"Not Found","mime":"text/html","httpstatus":"404","archivestatus":"404"},{"url":"https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-22197.json","name":"https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-22197.json","refsource":"CONFIRM","tags":[],"title":"2021/CVE-2021-22197.json · master · GitLab.org / cves · GitLab","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-22197","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-22197","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[{"source":"LEGACY","value":"This vulnerability has been discovered internally by the GitLab team","lang":""}],"nvd_cpes":[{"cve_year":"2021","cve_id":"22197","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"gitlab","cpe5":"gitlab","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"community","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"22197","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"gitlab","cpe5":"gitlab","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"enterprise","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"data_type":"CVE","data_format":"MITRE","data_version":"4.0","CVE_data_meta":{"ID":"CVE-2021-22197","ASSIGNER":"cve@gitlab.com","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"vendor_name":"GitLab","product":{"product_data":[{"product_name":"GitLab","version":{"version_data":[{"version_value":">=10.6, <13.8.7"},{"version_value":">=13.9, <13.9.5"},{"version_value":">=13.10, <13.10.1"}]}}]}}]}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"Uncontrolled resource consumption in GitLab"}]}]},"references":{"reference_data":[{"name":"https://gitlab.com/gitlab-org/gitlab/-/issues/323198","url":"https://gitlab.com/gitlab-org/gitlab/-/issues/323198","refsource":"MISC"},{"name":"https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-22197.json","url":"https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-22197.json","refsource":"CONFIRM"}]},"description":{"description_data":[{"lang":"eng","value":"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"}]},"impact":{"cvss":{"vectorString":"AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L","attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"LOW","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"REQUIRED","version":"3.1","baseScore":3.5,"baseSeverity":"LOW"}},"credit":[{"lang":"eng","value":"This vulnerability has been discovered internally by the GitLab team"}]},"nvd":{"publishedDate":"2021-04-02 17:15:00","lastModifiedDate":"2021-04-07 15:56:00","problem_types":["CWE-835"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"LOW","baseScore":4.3,"baseSeverity":"MEDIUM"},"exploitabilityScore":2.8,"impactScore":1.4},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:L/Au:S/C:N/I:N/A:P","accessVector":"NETWORK","accessComplexity":"LOW","authentication":"SINGLE","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"PARTIAL","baseScore":4},"severity":"MEDIUM","exploitabilityScore":8,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*","versionStartIncluding":"10.6.0","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*","versionStartIncluding":"10.6.0","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2021","CveId":"22197","Ordinal":"196898","Title":"CVE-2021-22197","CVE":"CVE-2021-22197","Year":"2021"},"notes":[{"CveYear":"2021","CveId":"22197","Ordinal":"1","NoteData":"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","Type":"Description","Title":null},{"CveYear":"2021","CveId":"22197","Ordinal":"2","NoteData":"2021-04-02","Type":"Other","Title":"Published"},{"CveYear":"2021","CveId":"22197","Ordinal":"3","NoteData":"2021-04-02","Type":"Other","Title":"Modified"}]}}}