PT-2024-5512 · Gitlab · Gitlab Ce/Ee+1

Published

2024-08-07

·

Updated

2024-09-18

·

CVE-2024-2800

CVSS v3.1

7.5

High

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions GitLab EE/CE versions 11.3 through 17.0.5 GitLab EE/CE versions 17.1 through 17.1.3 GitLab EE/CE versions 17.2 through 17.2.1
Description The issue is related to a ReDoS flaw in the RefMatcher component when matching branch names using wildcards, allowing denial of service via Regex backtracking. This can be exploited by a remote attacker to cause a denial of service. The flaw is associated with uncontrolled resource consumption due to incorrect matching of branch names with wildcards.
Recommendations For versions 11.3 through 17.0.5, update to version 17.0.6 or later. For versions 17.1 through 17.1.3, update to version 17.1.4 or later. For versions 17.2 through 17.2.1, update to version 17.2.2 or later. As a temporary workaround, consider restricting the use of wildcards in branch names to minimize the risk of exploitation.

Exploit

Fix

DoS

Resource Exhaustion

Weakness Enumeration

Related Identifiers

BDU:2024-06161
BIT-GITLAB-2024-2800
CVE-2024-2800

Affected Products

Gitlab
Gitlab Ce/Ee