8.8
Advisory Published
Updated

CVE-2021-22213

First published: Tue Jun 08 2021(Updated: )

A cross-site leak vulnerability in the OAuth flow of all versions of GitLab CE/EE since 7.10 allowed an attacker to leak an OAuth access token by getting the victim to visit a malicious page with Safari

Credit: cve@gitlab.com

Affected SoftwareAffected VersionHow to fix
GitLab>=7.10.0<13.10.5
GitLab>=7.10.0<13.10.5
GitLab>=13.11.0<13.11.5
GitLab>=13.11.0<13.11.5
GitLab>=13.12.0<13.12.2
GitLab>=13.12.0<13.12.2

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2021-22213?

    CVE-2021-22213 has been assigned a medium severity rating due to its potential to leak sensitive OAuth access tokens.

  • How do I fix CVE-2021-22213?

    To fix CVE-2021-22213, you should upgrade to GitLab version 13.10.6, 13.11.6, or 13.12.3 or later.

  • Who is affected by CVE-2021-22213?

    CVE-2021-22213 affects all versions of GitLab CE/EE since 7.10, specifically those prior to 13.10.6, 13.11.6, and 13.12.3.

  • What kind of attack is possible with CVE-2021-22213?

    CVE-2021-22213 allows an attacker to conduct a cross-site leak, potentially exposing OAuth access tokens when a victim visits a malicious page.

  • What versions of GitLab are vulnerable to CVE-2021-22213?

    All versions of GitLab CE/EE from 7.10 up to but not including 13.10.6, 13.11.6, and 13.12.3 are vulnerable to CVE-2021-22213.

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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203