{"id":"CVE-2023-5825","aliases":["CVE-2023-5825","BIT-GITLAB-2023-5825"],"related":[],"kind":"vulnerability","state":"published","title":"Loop with Unreachable Exit Condition ('Infinite Loop') in GitLab","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Se ha descubierto un problema en GitLab CE/EE que afecta a todas las versiones desde 16.2 anteriores a 16.3.6, todas las versiones desde 16.4 anteriores a 16.4.2, todas las versiones desde 16.5 anteriores a 16.5.1. Un atacante con pocos privilegios puede señalar un Componente CI/CD a una ruta incorrecta y hacer que el servidor agote toda la memoria disponible a través de un bucle infinito y provocar una Denegación de Servicio.","source":"nvd"}],"published":"2023-11-06T10:30:38.334Z","modified":"2026-09-08T08:47:43.318Z","severity":{"scorer":"GitLab","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":6.5,"rating":"MEDIUM"},"severities":[{"scorer":"GitLab","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":6.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":6.5,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-835"],"affected":[{"ranges":[{"type":"semver","introduced":"16.2","fixed":"16.3.6","status":"affected"},{"type":"semver","introduced":"16.4","fixed":"16.4.2","status":"affected"},{"type":"semver","introduced":"16.5","fixed":"16.5.1","status":"affected"}],"vendor":"GitLab","product":"GitLab","cpe":"cpe:2.3:a:gitlab:gitlab:*:*:*:*:*:*:*:*","repo":"git://git@gitlab.com:gitlab-org/gitlab.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"16.2.0","fixed":"16.3.6"},{"status":"affected","introduced":"16.2.0","fixed":"16.3.6"},{"status":"affected","introduced":"16.4.0","fixed":"16.4.2"},{"status":"affected","introduced":"16.4.0","fixed":"16.4.2"},{"status":"affected","version":"16.5.0"},{"status":"affected","version":"16.5.0"}],"vendor":"gitlab","product":"gitlab","cpe":"cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"16.2.0","status":"affected","fixed":"16.3.6"},{"type":"semver","introduced":"16.4.0","status":"affected","fixed":"16.4.2"},{"type":"semver","introduced":"16.5.0","status":"affected","fixed":"16.5.1"}],"ecosystem":"Bitnami","package":"gitlab","purl":"pkg:bitnami/gitlab","source":"bitnami"}],"references":[{"url":"https://gitlab.com/gitlab-org/gitlab/-/issues/428984","tags":["advisory","issue-tracking","permissions-required","vendor-advisory","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://hackerone.com/reports/2218566","tags":["exploit","permissions-required","technical-description","web","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-5825","tags":["web"],"sources":["bitnami"]}],"credits":["Thanks [blakbat](https://hackerone.com/blakbat) for reporting this vulnerability through our HackerOne bug bounty program"],"assigner":"GitLab","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2024-07-24T13:51:52.958Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-5825","url":"https://www.cve.org/CVERecord?id=CVE-2023-5825","licence":"CVE Terms of Use","modified":"2026-04-29T04:05:16.721Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-5825","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-5825","licence":"Public domain","modified":"2026-06-17T06:49:26.963Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-GITLAB-2023-5825","url":"https://osv.dev/vulnerability/BIT-GITLAB-2023-5825","licence":"Apache-2.0","modified":"2026-09-08T08:47:43.318Z"}],"updatedAt":"2026-11-25T22:58:30.066Z","epss":{"score":0.0077,"percentile":0.56834,"date":"2026-12-01T12:00:22.000Z"}}