CVE-2021-22189 Auth bypass in GitLab

Medium 5.9 Published Updated

Improper certificate validation in Fortinet OTP integration allows attackers to bypass authentication in GitLab.

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

What is CVE-2021-22189?

CVE-2021-22189 is a medium-severity authentication bypass vulnerability in Gitlab Gitlab, published on 4 Mar 2021. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

Starting with version 13.7 the Gitlab CE/EE editions were affected by a security issue related to the validation of the certificates for the Fortinet OTP that could result in authentication issues.

Weakness: CWE-295

Which versions are affected by CVE-2021-22189?

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

PackageAffectedFixed in
gitlab BitnamiFrom 13.6.013.6.7, 13.7.7, 13.8.4

Products include Gitlab Gitlab.

How do I fix CVE-2021-22189?

Upgrade gitlab to a fixed version for your release line: 13.6.7, 13.7.7 or 13.8.4.

Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.

Is CVE-2021-22189 being exploited?

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

All Gitlab Gitlab vulnerabilities

Sources

Also known as BIT-gitlab-2021-22189, GHSA-39rg-m8qv-7ff5, UBUNTU-CVE-2021-22189.

Is CVE-2021-22189 in your software?

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

Check your SBOMs for free