Skip to content
OpenAdvisories
Medium · 6.5 CVE-2023-5825 EUVD-2023-58108GHSA-gwvc-g4vv-pjx6

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

Published Nov 6, 2023 · Updated Apr 29, 2026 · Assigned by GitLab

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.

Affected products

VendorProductAffectedFixed
GitLab GitLab 16.2 – < 16.3.6, 16.4 – < 16.4.2, 16.5 – < 16.5.1 16.3.6

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu 16.04 LTS gitlab No fix yet —

Advisories 1

References