It was possible to bypass 2FA for LDAP users and access some specific pages with Basic Authentication in GitLab 14.1.1 and above.
https://gitlab.com/gitlab-org/gitlab/-/issues/341522
https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-39890.json