Improper Authorization in Gitlab Community Edition and GitLab Enterprise Edition - CVE-2021-22237

 

Improper Authorization in Gitlab Community Edition and GitLab Enterprise Edition - CVE-2021-22237

Published: August 10, 2021


Vulnerability identifier: #VU55734
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2021-22237
CWE-ID: CWE-285
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: GitLab, Inc
Affected software:
Gitlab Community Edition
GitLab Enterprise Edition

Detailed vulnerability description

The vulnerability allows a remote user to bypass implemented security restrictions.

The vulnerability exists due to improper handling of impersonation tokens. Under specialized conditions, GitLab may allow a user with an impersonation token to perform Git actions even if impersonation is disabled.


How to mitigate CVE-2021-22237

Install updates from vendor's website.

Sources