CWE
94
EPSS
0.046%
Advisory Published
Updated

CVE-2023-6051: Improper Control of Generation of Code ('Code Injection') in GitLab

First published: Fri Dec 15 2023(Updated: )

An issue has been discovered in GitLab CE/EE affecting all versions before 16.4.4, all versions starting from 16.5 before 16.5.4, all versions starting from 16.6 before 16.6.2. File integrity may be compromised when source code or installation packages are pulled from a specific tag.

Credit: cve@gitlab.com

Affected SoftwareAffected VersionHow to fix
GitLab<16.4.4
GitLab<16.4.4
GitLab>=16.5.0<16.5.4
GitLab>=16.5.0<16.5.4

Remedy

Upgrade to versions 16.6.2, 16.5.4, 16.4.4 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-6051?

    CVE-2023-6051 has a severity level that indicates a significant risk to file integrity in vulnerable GitLab versions.

  • How do I fix CVE-2023-6051?

    To fix CVE-2023-6051, upgrade to GitLab version 16.4.4, 16.5.4, or 16.6.2 or later.

  • Which versions are affected by CVE-2023-6051?

    CVE-2023-6051 affects all GitLab CE/EE versions prior to 16.4.4 and certain versions from 16.5.0 to 16.5.4 and from 16.6.0 to 16.6.2.

  • What exploitation potential exists with CVE-2023-6051?

    Exploitation of CVE-2023-6051 could allow attackers to compromise the integrity of source code or installation packages.

  • Can I use GitLab CE or EE if I have CVE-2023-6051?

    Yes, you can use GitLab CE or EE only if you have upgraded to a version that is not affected by CVE-2023-6051.

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