CVE-2023-3399: Disclosure of CI/CD variables using Custom project templates

Published Oct 31, 2023
·
Updated

An issue has been discovered in GitLab affecting all versions starting from 11.6 before 12.9.8, all versions starting from 12.10 before 12.10.7, all versions starting from 13.0 before 13.0.1. It was possible for an unauthorised project or group member to read the CI/CD variables using the custom project templates. This is a medium severity issue (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N, 8.5). It is now mitigated in the latest release and is assigned CVE-2023-3399.

Other sources

An issue has been discovered in GitLab EE affecting all versions starting from 11.6 before 16.3.6, all versions starting from 16.4 before 16.4.2, all versions starting from 16.5 before 16.5.1. It was possible for an unauthorised project or group member to read the CI/CD variables using the custom project templates.

— NVD

Affected Software

12 affected componentsFixes available
GitLab GitLab>=11.6.0<12.9.8
GitLab GitLab>=11.6.0<12.9.8
GitLab GitLab>=12.10.0<12.10.7
GitLab GitLab>=12.10.0<12.10.7
GitLab GitLab=13.0.0
GitLab GitLab=13.0.0
GitLab GitLab>=11.6<12.9.8, >=12.10<12.10.7, >=13.0<13.0.1
12.9.812.10.713.0.1
ubuntu/gitlab*
ubuntu/gitlab-agent*
ubuntu/gitlab-agent*
ubuntu/gitlab-agent*
ubuntu/gitlab-agent*

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 12.9.8Fixed in 12.10.7Fixed in 13.0.1
  2. Upgrade

    Upgrade GitLab EE to a version that resolves this vulnerability.

    Fixed in 16.5.1
  3. Upgrade

    Upgrade GitLab EE to a version that resolves this vulnerability.

    Fixed in 16.4.2
  4. Upgrade

    Upgrade GitLab EE to a version that resolves this vulnerability.

    Fixed in 16.3.6
  5. Upgrade

    Upgrade GitLab to a version that resolves this vulnerability.

    Fixed in 13.0.1
  6. Upgrade

    Upgrade GitLab to a version that resolves this vulnerability.

    Fixed in 12.10.7
  7. Upgrade

    Upgrade GitLab to a version that resolves this vulnerability.

    Fixed in 12.9.8

Event History

Oct 31, 2023
CVE Published
via GitLab·12:00 AM
Data Sourced
via GitLab·12:00 AM
DescriptionSeverityAffected Software
Nov 6, 2023
CVE Published
via MITRE·12:08 PM
Data Sourced
12:08 PM
RemedyDescriptionSeverityWeakness
Data Sourced
via OSV·12:08 PM
DescriptionSeverityWeakness
Nov 7, 2023
Updated
06:52 AM
Severity
Updated
07:15 AM
Severity
Nov 14, 2023
Data Sourced
06:01 PM
Affected Software
Updated
06:01 PM
Severity
Jul 24, 2024
Data Sourced
via MITRE·04:05 AM
RemedyDescriptionSeverityWeakness
Oct 3, 2024
Updated
via MITRE·06:23 AM
Weakness
Data Sourced
via NVD·07:15 AM
DescriptionSeverityWeaknessAffected Software
Updated
via NVD·07:15 AM
WeaknessAffected Software
Nov 24, 2026
Data Sourced
via OSV·02:54 PM
Affected Software

Frequently Asked Questions

1

What is CVE-2023-3399?

CVE-2023-3399 is a vulnerability in GitLab that allows unauthorized users to read CI/CD variables.

2

What versions of GitLab are affected by CVE-2023-3399?

GitLab versions starting from 11.6 before 16.3.6, 16.4 before 16.4.2, and 16.5 before 16.5.1 are affected by CVE-2023-3399.

3

How can an unauthorized user exploit CVE-2023-3399?

An unauthorized user can exploit CVE-2023-3399 by accessing the CI/CD variables using the custom project or group member capabilities.

4

What is the severity of CVE-2023-3399?

CVE-2023-3399 has a severity rating of high (8.5).

5

Are there any references related to CVE-2023-3399?

Yes, you can find more information about CVE-2023-3399 at the following references: [GitLab Issue](https://gitlab.com/gitlab-org/gitlab/-/issues/416244) and [HackerOne Report](https://hackerone.com/reports/2021616).

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