CVE Vulnerabilities

CVE-2023-5825

Loop with Unreachable Exit Condition ('Infinite Loop')

Published: Nov 06, 2023 | Modified: May 05, 2025
CVSS 3.x
6.5
MEDIUM
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS 2.x
RedHat/V2
RedHat/V3
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

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.

Weakness

The product contains an iteration or loop with an exit condition that cannot be reached, i.e., an infinite loop.

Affected Software

NameVendorStart VersionEnd Version
GitlabGitlab16.2.0 (including)16.3.6 (excluding)
GitlabGitlab16.4.0 (including)16.4.2 (excluding)
GitlabGitlab16.5.0 (including)16.5.0 (including)
GitlabUbuntuesm-apps/xenial*

References