CVE-2023-5831: Version information disclosure when super_sidebar_logged_out feature flag is enabled

Published Oct 31, 2023
·
Updated

An issue has been discovered in GitLab CE/EE affecting all versions starting from 16.0 before 16.3.6, all versions starting from 16.4 before 16.4.2, and all versions starting from 16.5.0 before 16.5.1 which have the supersidebarloggedout feature flag enabled. Affected versions with this default-disabled feature flag enabled may unintentionally disclose GitLab version metadata to unauthorized actors.

Other sources

An issue has been discovered in GitLab CE/EE affecting all versions starting from 16.0 before 16.3.6, all versions starting from 16.4 before 16.4.2, and all versions starting from 16.5.0 before 16.5.1 which have the supersidebarloggedout feature flag enabled. Affected versions with this default-disabled feature flag enabled may unintentionally disclose GitLab version metadata to unauthorized actors. This is a low severity issue (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N, 3.7). It is now mitigated in the latest release and is assigned CVE-2023-5831.

GitLab

Affected Software

7 affected componentsFixes available
GitLab GitLab>=16.0.0<16.3.6
GitLab GitLab>=16.0.0<16.3.6
GitLab GitLab>=16.4.0<16.4.2
GitLab GitLab>=16.4.0<16.4.2
GitLab GitLab=16.5.0
GitLab GitLab=16.5.0
GitLab GitLab>=16.0<16.3.6, >=16.4<16.4.2, >=16.5.0<16.5.1
16.3.616.4.216.5.1

Remediation

Information

Upgrade to version 16.3.6, 16.4.1, 16.5.1. Risk can also be mitigated by disabling the default-disabled `super_sidebar_logged_out` feature flag if it was previously enabled.

Event History

Nov 6, 2023
CVE Published
via MITRE·10:30 AM
Data Sourced
via MITRE·10:30 AM
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 CVE-2023-5831?

CVE-2023-5831 is a vulnerability in GitLab CE/EE that allows unauthorized actors to access sensitive information.

2

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

GitLab versions starting from 16.0 before 16.3.6, starting from 16.4 before 16.4.2, and starting from 16.5.0 before 16.5.1 (with the `super_sidebar_logged_out` feature flag enabled) are affected by CVE-2023-5831.

3

How severe is CVE-2023-5831?

CVE-2023-5831 has a severity rating of medium with a CVSS score of 5.3.

4

How can I fix CVE-2023-5831?

To fix CVE-2023-5831, it is recommended to upgrade GitLab to version 16.3.6, 16.4.2, or 16.5.1 or higher, and disable the `super_sidebar_logged_out` feature flag.

5

Where can I find more information about CVE-2023-5831?

More information about CVE-2023-5831 can be found at the following reference link: [CVE-2023-5831](https://gitlab.com/gitlab-org/gitlab/-/issues/428919).

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