CVE-2021-39872: Medium severity GitLab GitLab vulnerability

Published Oct 5, 2021
·
Updated

In all versions of GitLab CE/EE since version 14.1, an improper access control vulnerability allows users with expired password to still access GitLab through git and API through access tokens acquired before password expiration.

Affected Software

6 affected components
GitLab GitLab>=14.1.0<14.1.7
GitLab GitLab>=14.1.0<14.1.7
GitLab GitLab>=14.2.0<14.2.5
GitLab GitLab>=14.2.0<14.2.5
GitLab GitLab=4.3.0
GitLab GitLab=4.3.0

Event History

Oct 5, 2021
CVE Published
via MITRE·12:34 PM
Data Sourced
via MITRE·12:34 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·01:15 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2021-39872?

CVE-2021-39872 is classified as a high severity vulnerability due to improper access control allowing expired users to access GitLab via access tokens.

2

How do I fix CVE-2021-39872?

To mitigate CVE-2021-39872, users should upgrade to GitLab versions 14.1.8, 14.2.6, or later where this vulnerability is patched.

3

What versions of GitLab are affected by CVE-2021-39872?

CVE-2021-39872 affects all versions of GitLab CE/EE starting from 14.1.0 up to and including 14.1.7 and 14.2.0 up to and including 14.2.5.

4

Who is impacted by CVE-2021-39872?

Users with expired passwords are impacted by CVE-2021-39872, as they can still access GitLab through git and API using previously acquired access tokens.

5

Are there any workarounds for CVE-2021-39872?

Currently, the recommended solution for CVE-2021-39872 is to upgrade to a patched version of GitLab, as there are no effective workarounds available.

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