CVE-2024-8311: Improper Protection of Alternate Path in GitLab

Published Sep 11, 2024
·
Updated

An issue was discovered with pipeline execution policies in GitLab EE affecting all versions from 17.2 prior to 17.2.5, 17.3 prior to 17.3.2 which allows authenticated users to bypass variable overwrite protection via inclusion of a CI/CD template.

Affected Software

3 affected componentsFixes available
GitLab GitLab>=17.2.0<17.2.5
GitLab GitLab>=17.3.0<17.3.2
GitLab GitLab EE>=17.2<17.2.5, >=17.3<17.3.2
17.2.517.3.2

Remediation

Information

Upgrade to versions 17.2.5, 17.3.2 or above.

Event History

Sep 12, 2024
CVE Published
via MITRE·06:27 PM
Data Sourced
via MITRE·06:27 PM
RemedyDescriptionSeverityWeakness
Apr 22, 2026
Data Sourced
via GitLab·08:52 AM
DescriptionSeverityAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2024-8311?

CVE-2024-8311 is considered a medium severity vulnerability.

2

How do I fix CVE-2024-8311?

To fix CVE-2024-8311, upgrade your GitLab EE installation to version 17.2.5 or 17.3.2 or later.

3

Who is affected by CVE-2024-8311?

CVE-2024-8311 affects authenticated users of GitLab EE running versions from 17.2 to prior to 17.2.5 and 17.3 to prior to 17.3.2.

4

What kind of attack does CVE-2024-8311 enable?

CVE-2024-8311 allows authenticated users to bypass variable overwrite protection in CI/CD pipelines.

5

Is there a workaround for CVE-2024-8311?

There is no official workaround for CVE-2024-8311; upgrading is the recommended approach.

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