Server-Side Request Forgery (SSRF) in GitLab Enterprise Edition and Gitlab Community Edition - CVE-2021-22175

 

Server-Side Request Forgery (SSRF) in GitLab Enterprise Edition and Gitlab Community Edition - CVE-2021-22175

Published: March 14, 2025


Vulnerability identifier: #VU105742
CSH Severity: High
CVSS v4: 8.8 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:N/SC:L/SI:L/SA:N]
CVE-ID: CVE-2021-22175
CWE-ID: CWE-918
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The disclosed vulnerability allows a remote attacker to perform SSRF attacks.

The vulnerability exists due to insufficient validation of user-supplied input. A remote attacker can send a specially crafted HTTP request and trick the application to initiate requests to arbitrary systems.

Successful exploitation of this vulnerability may allow a remote attacker gain access to sensitive data, located in the local network or send malicious requests to other servers from the vulnerable system.


Affected software

GitLab Enterprise Edition
Gitlab Community Edition

How to mitigate CVE-2021-22175

Install updates from vendor's website.

GitLab Enterprise Edition - addressed in versions 13.6.7, 13.7.7, 13.8.4
Gitlab Community Edition - addressed in versions 13.6.7, 13.7.7, 13.8.4

External References

Related Security Bulletins