CVE-2021-4191 Information disclosure in GitLab

Medium 5.3 Published Updated

Unauthenticated attackers can enumerate users via GraphQL API on private GitLab instances with restricted sign-ups.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2021-4191?

CVE-2021-4191 is a medium-severity vulnerability in Gitlab Gitlab, published on 28 Mar 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

An issue has been discovered in GitLab CE/EE affecting versions 13.0 to 14.6.5, 14.7 to 14.7.4, and 14.8 to 14.8.2. Private GitLab instances with restricted sign-ups may be vulnerable to user enumeration to unauthenticated users through the GraphQL API.

Which versions are affected by CVE-2021-4191?

1 open source package ship an affected version, including gitlab. It affects 1 product.

PackageAffectedFixed in
gitlab BitnamiFrom 13.0.014.6.5, 14.7.4, 14.8.2

Products include Gitlab Gitlab.

How do I fix CVE-2021-4191?

Upgrade gitlab to a fixed version for your release line: 14.6.5, 14.7.4 or 14.8.2.

Is CVE-2021-4191 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-4191 exists.

Public exploit code: 1 Metasploit module, 1 Nuclei template and 1 proofs of concept on GitHub.

All Gitlab Gitlab vulnerabilities

Sources

Also known as BIT-gitlab-2021-4191, GHSA-m37q-w59j-4vr4, UBUNTU-CVE-2021-4191.

Is CVE-2021-4191 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free