Improper access control in GitLab Enterprise Edition and Gitlab Community Edition - CVE-2021-39872
Published: October 4, 2021
Vulnerability identifier: #VU57015
CSH Severity: Medium
CVSS v4: 7.1 [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]
CVE-ID: CVE-2021-39872
CWE-ID: CWE-284
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vulnerability details
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.
Affected software
GitLab Enterprise Edition
Gitlab Community Edition
Gitlab Community Edition
How to mitigate CVE-2021-39872
Install updates from vendor's website.
GitLab Enterprise Edition - addressed in versions 14.1.7, 14.2.5, 14.3.1
Gitlab Community Edition - addressed in versions 14.1.7, 14.2.5, 14.3.1
Gitlab Community Edition - addressed in versions 14.1.7, 14.2.5, 14.3.1