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

 

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

Published: December 9, 2021 / Updated: March 14, 2025


Vulnerability identifier: #VU58754
CSH Severity: High
CVSS v4: 8.3 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:L/VA:N/SC:L/SI:L/SA:N]
CVE-ID: CVE-2021-39935
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
Arch Linux

How to mitigate CVE-2021-39935

Install updates from vendor's website.

GitLab Enterprise Edition - addressed in versions 14.3.6, 14.4.4, 14.5.2
Gitlab Community Edition - addressed in versions 14.3.6, 14.4.4, 14.5.2

External References

Related Security Bulletins