MEDIUM

CVE-2021-39903

Gitlab GitLab 2021-11-04 CVSS v3.1
CVSS
6.5

Description

In all versions of GitLab CE/EE since version 13.0, a privileged user, through an API call, can change the visibility level of a group or a project to a restricted option even after the instance administrator sets that visibility option as restricted in settings.

Summary dbcve.org

In GitLab CE/EE versions 13.0 and later, the API endpoint for changing group or project visibility does not properly enforce administrator-configured visibility restrictions. A privileged user can bypass these restrictions via API calls to set visibility to restricted options that the instance administrator has explicitly disabled.

Mitigation

Upgrade GitLab to the patched version. As a compensating control, monitor API access logs for unauthorized visibility change attempts and consider restricting API token permissions for privileged users.

EPSS Score

1.14%
Probability of exploitation in next 30 days
65.1th percentile

References

View on dbcve.org
Base CVE data derived from NVD (public domain). Enrichment by dbcve.org (CC-BY-4.0). Fetched via API.
Back to CVE