CWE
94
Advisory Published
Updated

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

First published: Wed Aug 02 2023(Updated: )

An issue has been discovered in GitLab affecting all versions before 16.0.8, all versions starting from 16.1 before 16.1.3, all versions starting from 16.2 before 16.2.2. The main branch of a repository with a specially designed name allows an attacker to create repositories with malicious code.

Credit: cve@gitlab.com cve@gitlab.com

Affected SoftwareAffected VersionHow to fix
GitLab GitLab<16.0.8
GitLab GitLab>=16.1<16.1.3
GitLab GitLab>=16.2<16.2.2

Remedy

Upgrade to versions 16.2.2, 16.1.3, 16.0.8 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 vulnerability ID for this GitLab issue?

    The vulnerability ID for this GitLab issue is CVE-2023-3401.

  • What is the severity level of CVE-2023-3401?

    The severity level of CVE-2023-3401 is medium (6.5).

  • Which versions of GitLab are affected by CVE-2023-3401?

    The versions affected by CVE-2023-3401 are all versions before 16.0.8, all versions starting from 16.1 before 16.1.3, and all versions starting from 16.2 before 16.2.2.

  • What can an attacker do with this vulnerability?

    An attacker can create repositories with malicious code using the main branch of a repository with a specially designed name.

  • Are there any references for more information on CVE-2023-3401?

    Yes, you can find more information on CVE-2023-3401 at the following references: [GitLab Issue](https://gitlab.com/gitlab-org/gitlab/-/issues/416252), [HackerOne Report](https://hackerone.com/reports/2031845)

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