Information disclosure in Gitlab Community Edition and GitLab Enterprise Edition - CVE-2021-22257

 

Information disclosure in Gitlab Community Edition and GitLab Enterprise Edition - CVE-2021-22257

Published: September 2, 2021


Vulnerability identifier: #VU56261
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2021-22257
CWE-ID: CWE-200
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to gain access to potentially sensitive information.

The vulnerability exists due to the route for /user.keys is not restricted on instances with public visibility disabled. A remote attacker can gain unauthorized access to sensitive information on the system.


Affected software

Gitlab Community Edition
GitLab Enterprise Edition

How to mitigate CVE-2021-22257

Install updates from vendor's website.

Gitlab Community Edition - addressed in versions 14.0.9, 14.1.4, 14.2.2
GitLab Enterprise Edition - addressed in versions 14.0.9, 14.1.4, 14.2.2

External References

Related Security Bulletins