Skip to content
Heist/ feed
Back to feed
Critical

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-39890

It was possible to bypass 2FA for LDAP users and access some specific pages with Basic Authentication in GitLab 14.1.1 and above.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-39890
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 07:55 UTC · Revision 1

Source evidence

CVE-2021-39890

core-osv · Original source

Published 6 Dec 2021, 18:15 UTC

It was possible to bypass 2FA for LDAP users and access some specific pages with Basic Authentication in GitLab 14.1.1 and above.

osv:CVE-2021-39890
Complete source record
{
  "id": "b6a183f8880a622e996ccf2a01345c86b5bfedb5354be973d08dc9ed94ed1ae2",
  "url": "https://osv.dev/vulnerability/CVE-2021-39890",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-39890",
    "summary": "It was possible to bypass 2FA for LDAP users and access some specific pages with Basic Authentication in GitLab 14.1.1 and above.",
    "evidence": "osv:CVE-2021-39890",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2021-39890",
      "aliases": [
        "BIT-gitlab-2021-39890",
        "CVE-2021-39890"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://gitlab.com/gitlab-org/gitlab",
              "type": "GIT",
              "events": [
                {
                  "introduced": "f331f93268868917eeb6f425360e2b94cc5037ed"
                },
                {
                  "fixed": "9cd657e5179e339171d27e4573b8f5711db1d824"
                },
                {
                  "introduced": "38bbb40bb77dd3e0f0281c4363e2ef298e650c42"
                },
                {
                  "fixed": "72c1da0383a35604f4b2d73a7ed8e6a2c4ee64b1"
                },
                {
                  "introduced": "dec73e99fddac59c0bf816dc4bffd2a30abae6de"
                },
                {
                  "last_affected": "0816e4664224c86a9c3868127ad890d7cf0526c6"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "14.1.1"
                      },
                      {
                        "fixed": "14.1.7"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "14.2.0"
                      },
                      {
                        "fixed": "14.2.5"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:14.3.0:*:*:*:community:*:*:*",
                    "range": [
                      {
                        "introduced": "14.3.0"
                      },
                      {
                        "last_affected": "14.3.0"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:14.3.0:*:*:*:enterprise:*:*:*",
                    "range": [
                      {
                        "introduced": "14.3.0"
                      },
                      {
                        "last_affected": "14.3.0"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:14.3.1:*:*:*:community:*:*:*",
                    "range": [
                      {
                        "introduced": "14.3.1"
                      },
                      {
                        "last_affected": "14.3.1"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:14.3.1:*:*:*:enterprise:*:*:*",
                    "range": [
                      {
                        "introduced": "14.3.1"
                      },
                      {
                        "last_affected": "14.3.1"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "14.3.0",
            "14.3.1",
            "v14.1.6-ee",
            "v14.2.4-ee",
            "v14.3.1-ee",
            "v14.3.0-ee",
            "v14.1.5-ee",
            "v14.2.3-ee",
            "v14.1.3-ee",
            "v14.2.1-ee",
            "v14.2.0-ee",
            "v14.1.1-ee"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-39890.json"
          }
        }
      ],
      "modified": "2026-10-30T10:30:28.266797337Z",
      "provider": "osv",
      "references": [
        "https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-39890.json",
        "https://gitlab.com/gitlab-org/gitlab/-/issues/341522"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2021-39890",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 439537,
  "published_at": "2021-12-06T18:15:08.127+00:00"
}