CVE-2021-22172 Missing authorization in GitLab

Medium 4.3 Published Updated

Guest users in private GitLab projects can view restricted tag data on the releases page due to improper authorization checks.

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-22172?

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

Official description

Improper authorization in GitLab 12.8+ allows a guest user in a private project to view tag data that should be inaccessible on the releases page

Weakness: CWE-200

Which versions are affected by CVE-2021-22172?

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

PackageAffectedFixed in
gitlab BitnamiFrom 12.8.013.6.6, 13.7.6, 13.8.2

Products include Gitlab Gitlab.

How do I fix CVE-2021-22172?

Upgrade gitlab to a fixed version for your release line: 13.6.6, 13.7.6 or 13.8.2.

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

Is CVE-2021-22172 being exploited?

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

All Gitlab Gitlab vulnerabilities

Sources

Also known as BIT-gitlab-2021-22172, GHSA-7q4r-xvh7-hj22, UBUNTU-CVE-2021-22172.

Is CVE-2021-22172 in your software?

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

Check your SBOMs for free