CVE-2021-22189 Auth bypass in GitLab
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.
| Package | Affected | Fixed in |
|---|---|---|
gitlab Bitnami | From 13.6.0 | 13.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.
Other vulnerabilities in Gitlab Gitlab
- CVE-2026-97229 GitLab Community Edition and Enterprise Edition Integer Overflow or Wraparound
- CVE-2026-85706 GitLab Community Edition and Enterprise Edition Path Traversal
- CVE-2023-7028 GitLab Community and Enterprise Editions Improper Access Control
- CVE-2021-22205 GitLab Community and Enterprise Editions Remote Code Execution
- CVE-2021-39935 GitLab Community and Enterprise Editions Server-Side Request Forgery (SSRF)
Sources
Also known as BIT-gitlab-2021-22189, GHSA-39rg-m8qv-7ff5, UBUNTU-CVE-2021-22189.