Cross-site request forgery in Gitlab Community Edition and GitLab Enterprise Edition - CVE-2022-4138
Published: February 1, 2023
Vulnerability identifier: #VU71723
CSH Severity: Low
CVSS v4: 4.8 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2022-4138
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. A remote user 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
GitLab Enterprise Edition
How to mitigate CVE-2022-4138
Install updates from vendor's website.
Gitlab Community Edition - addressed in versions 15.6.7, 15.7.6, 15.8.1
GitLab Enterprise Edition - addressed in versions 15.6.7, 15.7.6, 15.8.1
GitLab Enterprise Edition - addressed in versions 15.6.7, 15.7.6, 15.8.1