CVE-2023-5825

Loop with Unreachable Exit Condition ('Infinite Loop') in GitLab

Published Nov 6, 2023 CVSS 3.1 · 6.5 Medium EPSS < 1% KEV · Not listed
Description
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.

Remediation

Vendor Solution

Upgrade to versions 16.5.1, 16.4.2, 16.3.6 or above.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2023-58108 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.
History
Type Values Removed Values Added
Weaknesses CWE-400
Type Values Removed Values Added
Title Uncontrolled Resource Consumption in GitLab Loop with Unreachable Exit Condition ('Infinite Loop') in GitLab
Weaknesses CWE-835
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
CPEs cpe:2.3:a:gitlab:gitlab:*:*:*:*:*:*:*:*
Weaknesses

Sources

Status
PUBLISHED
Assigner
GitLab
Published
Updated
Apr 29, 2026, 4:05 AM
Reserved
Oct 27, 2023, 10:01 AM
Status
Analyzed
Published
Nov 6, 2023, 11:15 AM
Modified
Jun 17, 2026, 6:49 AM