LiveActive security incident?Get immediate response
CVE Record

CVE-2023-5825: Loop with Unreachable Exit Condition ('Infinite Loop') in GitLab

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.

MediumCVSS 6.5Not KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

A low-privileged GitLab user could point a CI/CD Component to an incorrect path and trigger an infinite loop that exhausts server memory. The business impact is service outage, not data theft or modification, but it can disrupt development and deployment pipelines on affected self-managed GitLab versions.

Executive priority

Treat this as a timely availability fix for GitLab-dependent engineering and deployment operations. It is not described as a confidentiality breach, but a low-privileged denial-of-service path can still interrupt software delivery.

Technical view

CVE-2023-5825 is CWE-835 in GitLab CE/EE. A CI/CD Component path-handling flaw can enter an infinite loop, consuming available memory and causing denial of service. Affected ranges are 16.2 before 16.3.6, 16.4 before 16.4.2, and 16.5 before 16.5.1. CVSS 3.1 score is 6.5.

Likely exposure

Exposure is most likely in self-managed GitLab CE/EE environments running the affected 16.2, 16.4, or 16.5 release lines where low-privileged users can interact with CI/CD Components. GitLab instances outside those ranges are listed as unaffected by default in the supplied CVE data.

Exploitation context

The provided CVE data says exploitation requires network access and low privileges, with no user interaction. It affects availability only. KEV is false, and the supplied sources do not support claims of active exploitation in the wild.

Researcher notes

Public technical references in the bundle include GitLab and HackerOne entries marked permission-required, so independent reproduction detail is limited here. Analysis is grounded in the CVE description, CVSS vector, affected ranges, CWE-835 classification, and KEV=false signal only.

Mitigation direction

  • Upgrade GitLab 16.2 to 16.3.6 or later supported versions.
  • Upgrade GitLab 16.4 to 16.4.2 or later supported versions.
  • Upgrade GitLab 16.5 to 16.5.1 or later supported versions.
  • Review GitLab vendor guidance for any environment-specific hardening.
  • Limit CI/CD Component use to trusted users where operationally feasible.

Validation and detection

  • Inventory self-managed GitLab CE/EE versions across production and development environments.
  • Confirm no instance runs affected versions before the fixed releases.
  • Review whether low-privileged users can configure CI/CD Components.
  • Check GitLab monitoring for abnormal memory exhaustion or repeated service restarts.
  • Track remediation evidence in vulnerability management records.
Prepared
Confidence
high
Sources
4

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-835: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2023-5825 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Medium
CVSS
6.5 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
3Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
6.5CVSS 3.1MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H2.83.6Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

6.5Medium
CVSS 3.1 vector shape for CVE-2023-5825Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
GitLabGitLab16.2, 16.4, 16.5unaffected
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-835 · source CWE mapping

Loop with Unreachable Exit Condition ('Infinite Loop')

Loop with Unreachable Exit Condition ('Infinite Loop') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.