CVE-2021-22251 Missing authorization in GitLab

Medium 4.3 Published Updated

Attackers can bypass group email domain restrictions to add unauthorized members to projects in GitLab Enterprise Edition.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2021-22251?

CVE-2021-22251 is a medium-severity missing authorization vulnerability in Gitlab Gitlab, published on 23 Aug 2021. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Improper validation of invited users' email address in GitLab EE affecting all versions since 12.2 allowed projects to add members with email address domain that should be blocked by group settings

Weakness: CWE-863

Which versions are affected by CVE-2021-22251?

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

PackageAffectedFixed in
gitlab BitnamiFrom 12.2.013.12.9, 14.0.7, 14.1.2

Products include Gitlab Gitlab.

How do I fix CVE-2021-22251?

Upgrade gitlab to a fixed version for your release line: 13.12.9, 14.0.7 or 14.1.2.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2021-22251 being exploited?

There is no known exploitation of CVE-2021-22251 in the wild and no public exploit code.

All Gitlab Gitlab vulnerabilities

Sources

Also known as BIT-gitlab-2021-22251, GHSA-5f6w-rj6x-7j7v, UBUNTU-CVE-2021-22251.

Is CVE-2021-22251 in your software?

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

Check your SBOMs for free