Cross-site request forgery in Gitlab Community Edition and GitLab Enterprise Edition - CVE-2024-2177

 

Cross-site request forgery in Gitlab Community Edition and GitLab Enterprise Edition - CVE-2024-2177

Published: June 27, 2024


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

Vulnerability details

The vulnerability allows a remote attacker to perform cross-site request forgery attacks.

The vulnerability exists due to insufficient validation of the HTTP request origin in user application OAuth flow. A remote attacker can trick the victim to visit a specially crafted web page and perform arbitrary actions on behalf of the victim on the vulnerable website.


Affected software

Gitlab Community Edition
GitLab Enterprise Edition

How to mitigate CVE-2024-2177

Install updates from vendor's website.

Gitlab Community Edition - addressed in versions 16.11.5, 17.0.3, 17.1.1
GitLab Enterprise Edition - addressed in versions 16.11.5, 17.0.3, 17.1.1

External References

Related Security Bulletins