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

 

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

Published: October 4, 2021


Vulnerability identifier: #VU57015
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2021-39872
CWE-ID: CWE-284
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 attacker to gain unauthorized access to otherwise restricted functionality.

The vulnerability exists due to improper access restrictions. A remote authenticated attacker with expired password can still access GitLab through git and API through access tokens acquired before password expiration.


How to mitigate CVE-2021-39872

Install updates from vendor's website.

Sources