{"id":"CVE-2023-5825","summary":"Loop with Unreachable Exit Condition ('Infinite Loop') in GitLab","details":"An issue has been discovered in GitLab CE/EE affecting all versions starting from 16.2 before 16.3.6, all versions starting from 16.4 before 16.4.2, all versions starting from 16.5 before 16.5.1. A low-privileged attacker can point a CI/CD Component to an incorrect path and cause the server to exhaust all available memory through an infinite loop and cause Denial of Service.","aliases":["BIT-gitlab-2023-5825"],"modified":"2026-08-23T06:37:47.728788365Z","published":"2023-11-06T10:30:38.334Z","database_specific":{"cwe_ids":["CWE-835"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/5xxx/CVE-2023-5825.json","cna_assigner":"GitLab"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/5xxx/CVE-2023-5825.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-5825"},{"type":"REPORT","url":"https://gitlab.com/gitlab-org/gitlab/-/issues/428984"},{"type":"REPORT","url":"https://hackerone.com/reports/2218566"},{"type":"PACKAGE","url":"git://git@gitlab.com:gitlab-org/gitlab.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://gitlab.com/gitlab-org/gitlab","events":[{"introduced":"3adc0fe6e7c163bedd7faa5f0c4d1e5fbb6bf3c5"},{"fixed":"128862473d18a7df991090bb25688a8c81fcb0fe"},{"introduced":"e4c1c182610739c1b1d10a8eacbea1f5aa837ad6"},{"fixed":"385b9a2727ad972efe1fcdca3a61c447329ecd09"},{"introduced":"fc87c9d4cca1536abcf902b4128f5c2004d87162"},{"last_affected":"fc87c9d4cca1536abcf902b4128f5c2004d87162"}],"database_specific":{"source":["CPE_RANGE","CPE_STRING"],"cpe":["cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*","cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*","cpe:2.3:a:gitlab:gitlab:16.5.0:*:*:*:community:*:*:*","cpe:2.3:a:gitlab:gitlab:16.5.0:*:*:*:enterprise:*:*:*"],"extracted_events":[{"introduced":"16.2.0"},{"fixed":"16.3.6"},{"introduced":"16.4.0"},{"fixed":"16.4.2"},{"introduced":"16.5.0"},{"last_affected":"16.5.0"}]}}],"versions":["16.5.0","v16.5.0-ee","v16.4.0-ee"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-5825.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}