Server-Side Request Forgery (SSRF) in GitLab Enterprise Edition and Gitlab Community Edition - CVE-2021-22214
Published: June 14, 2021 / Updated: March 14, 2025
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 Community Edition
Arch Linux
How to mitigate CVE-2021-22214
Gitlab Community Edition - addressed in versions 13.10.5, 13.11.5, 13.12.2
Links to Public Exploits and PoC-codes
- Exploit #8273 - CVE-2021-22214 (Gitlab CI Lint API未授权 SSRF漏洞 (CVE-2021-22214)) (August 20, 2022)
- Exploit #6968 - CVE-2021-22214 (Gitlab CI Lint API未授权 SSRF漏洞 CVE-2021-22214) (November 1, 2021)
- Exploit #6485 - gitlab-cve-2021-22214 (Gitlab SSRF) (June 29, 2021)
- Exploit #6464 - CVE-2021-22214 (Gitlab CI Lint API未授权 SSRF漏洞 (CVE-2021-22214)) (June 22, 2021)