CVE-2021-39891: Medium severity GitLab GitLab vulnerability

Published Oct 5, 2021
·
Updated

In all versions of GitLab CE/EE since version 8.0, access tokens created as part of admin's impersonation of a user are not cleared at the end of impersonation which may lead to unnecessary sensitive info disclosure.

Affected Software

6 affected components
GitLab GitLab>=8.0.0<14.1.7
GitLab GitLab>=8.0.0<14.1.7
GitLab GitLab>=14.2.0<14.2.5
GitLab GitLab>=14.2.0<14.2.5
GitLab GitLab>=14.3.0<14.3.1
GitLab GitLab>=14.3.0<14.3.1

Event History

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

Frequently Asked Questions

1

What is the severity of CVE-2021-39891?

CVE-2021-39891 is considered a Medium severity vulnerability due to potential sensitive information disclosure.

2

How do I fix CVE-2021-39891?

To fix CVE-2021-39891, upgrade to GitLab version 14.1.8, 14.2.6, or 14.3.2 and ensure access tokens are properly cleared.

3

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

CVE-2021-39891 affects all GitLab CE/EE versions from 8.0.0 up to 14.1.7, as well as specific versions in the 14.2.x and 14.3.x ranges.

4

What are access tokens in the context of CVE-2021-39891?

Access tokens are credentials used to authenticate user sessions and control access to resources, which if not cleared can lead to data exposure.

5

Who is impacted by CVE-2021-39891?

Administrators who impersonate users in GitLab are primarily impacted, as their access tokens may remain active post-impersonation.

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