Improper access control in Gitlab Community Edition and GitLab Enterprise Edition - CVE-2021-39945

 

Improper access control in Gitlab Community Edition and GitLab Enterprise Edition - CVE-2021-39945

Published: December 9, 2021


Vulnerability identifier: #VU58786
CSH Severity: Low
CVSS v4: 5.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2021-39945
CWE-ID: CWE-284
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote user to gain unauthorized access to otherwise restricted functionality.

The vulnerability exists due to improper access restrictions. A remote administrator can approve the Merge Request even after having their project access revoked.


Affected software

Gitlab Community Edition
GitLab Enterprise Edition
Arch Linux

How to mitigate CVE-2021-39945

Install updates from vendor's website.

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

External References

Related Security Bulletins