CWE
352
Advisory Published
Updated

CVE-2023-7045: Cross-Site Request Forgery (CSRF) in GitLab

First published: Thu May 23 2024(Updated: )

A CSRF vulnerability exists within GitLab CE/EE from versions 13.11 before 16.10.6, from 16.11 before 16.11.3, from 17.0 before 17.0.1. By leveraging this vulnerability, an attacker could exfiltrate anti-CSRF tokens via the Kubernetes Agent Server (KAS).

Credit: cve@gitlab.com

Affected SoftwareAffected VersionHow to fix
GitLab>=13.11.0<16.10.6
GitLab>=13.11.0<16.10.6
GitLab>=16.11.0<16.11.3
GitLab>=16.11.0<16.11.3
GitLab=17.0.0
GitLab=17.0.0

Remedy

Upgrade to versions 16.10.6, 16.11.3, 17.0.1 or above.

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-2023-7045?

    CVE-2023-7045 has a high severity rating due to its potential to allow attackers to exfiltrate anti-CSRF tokens.

  • How do I fix CVE-2023-7045?

    To remediate CVE-2023-7045, upgrade GitLab CE/EE to version 16.10.6 or later, 16.11.3 or later, or 17.0.1.

  • What versions are affected by CVE-2023-7045?

    CVE-2023-7045 affects GitLab CE/EE versions from 13.11 before 16.10.6, from 16.11 before 16.11.3, and from 17.0 before 17.0.1.

  • Can CVE-2023-7045 lead to account takeover?

    Yes, exploiting CVE-2023-7045 can enable attackers to take over user accounts by exfiltrating crucial tokens.

  • What type of vulnerability is CVE-2023-7045?

    CVE-2023-7045 is classified as a Cross-Site Request Forgery (CSRF) vulnerability.

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