Incorrect Regular Expression in Gitlab Community Edition and GitLab Enterprise Edition - CVE-2024-3114

 

Incorrect Regular Expression in Gitlab Community Edition and GitLab Enterprise Edition - CVE-2024-3114

Published: August 8, 2024


Vulnerability identifier: #VU95543
CSH Severity: Low
CVSS v4: 5.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2024-3114
CWE-ID: CWE-185
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to insufficient input validation when processing regular expressions within parsing git push. A remote user can pass specially crafted data to the application and perform regular expression denial of service (ReDos) attack.


Affected software

Gitlab Community Edition
GitLab Enterprise Edition

How to mitigate CVE-2024-3114

Install updates from vendor's website.

Gitlab Community Edition - addressed in versions 17.0.6, 17.1.4, 17.2.2
GitLab Enterprise Edition - addressed in versions 17.0.6, 17.1.4, 17.2.2

External References

Related Security Bulletins