#VU51271 Authorization bypass through user-controlled key in Gitlab Community Edition and GitLab Enterprise Edition - CVE-2021-22186

 

#VU51271 Authorization bypass through user-controlled key in Gitlab Community Edition and GitLab Enterprise Edition - CVE-2021-22186

Published: March 9, 2021


Vulnerability identifier: #VU51271
Vulnerability risk: Medium
CVSSv4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2021-22186
CWE-ID:
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vulnerable software:
Gitlab Community Edition
GitLab Enterprise Edition
Software vendor:
GitLab, Inc

Description

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

The vulnerability exists due to incorrect permission checks in the API. A remote authenticated user with privileges of a group maintainer can modify group CI/CD variables, which should be restricted to group owners.


Remediation

Install updates from vendor's website.

External links