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

 

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

Published: October 4, 2021


Vulnerability identifier: #VU57013
CSH Severity: Medium
CVSS v4: 7.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2021-39867
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 DNS Rebinding issue in Gitea importer. A remote authenticated 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
GitLab Enterprise Edition

How to mitigate CVE-2021-39867

Install updates from vendor's website.

Gitlab Community Edition - addressed in versions 14.1.7, 14.2.5, 14.3.1
GitLab Enterprise Edition - addressed in versions 14.1.7, 14.2.5, 14.3.1

External References

Related Security Bulletins