CVE-2021-39874: Medium severity GitLab GitLab vulnerability

Published Oct 4, 2021
·
Updated

In all versions of GitLab CE/EE since version 11.0, the requirement to enforce 2FA is not honored when using git commands.

Affected Software

6 affected components
GitLab GitLab>=11.0.0<14.1.7
GitLab GitLab>=11.0.0<14.1.7
GitLab GitLab>=14.2<14.2.5
GitLab GitLab>=14.2<14.2.5
GitLab GitLab>=14.3<14.3.1
GitLab GitLab>=14.3<14.3.1

Event History

Oct 4, 2021
CVE Published
via MITRE·04:50 PM
Data Sourced
via MITRE·04:50 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:15 PM
DescriptionSeverityAffected Software
Data Sourced
via OSV·05:15 PM
DescriptionSeverity

Frequently Asked Questions

1

What is the severity of CVE-2021-39874?

CVE-2021-39874 is classified as a medium severity vulnerability.

2

How does CVE-2021-39874 impact GitLab users?

CVE-2021-39874 allows users to bypass two-factor authentication when using git commands.

3

Which versions of GitLab are affected by CVE-2021-39874?

CVE-2021-39874 affects all versions of GitLab CE/EE from 11.0 up to but not including 14.1.7 and also includes certain versions of 14.2 and 14.3.

4

How do I fix CVE-2021-39874?

To fix CVE-2021-39874, upgrade GitLab to a version that is 14.1.7 or later, 14.2.5 or later, or 14.3.1 or later.

5

Is two-factor authentication supported in GitLab after CVE-2021-39874?

Yes, two-factor authentication is supported in GitLab, but CVE-2021-39874 allows a bypass under certain conditions.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203