Description
An issue has been discovered in GitLab EE affecting all versions starting from 16.6 prior to 17.2.9, from 17.3 prior to 17.3.5, and from 17.4 prior to 17.4.2. It was possible for an unauthenticated attacker to determine the GitLab version number for a GitLab instance.
Vulnerability type
CWE-540
Inclusion of Sensitive Information in Source Code
The product (such as a web server or repository) provides access to source code is not intended to be accessible to users but contains sensitive information.
Impact on systems
| Scope | Impact |
| Confidentiality |
Read Application Data, Varies by Context Obtaining source code on a system allows an attacker to understand the logic of the script and extract extremely useful information such as code bugs or logins and passwords. |
How to prevent it
Architecture and Design · System Configuration
Recommendations include removing the script from the web server and moving it to a location not accessible from the Internet.
All 27 CWE-540 CVEs, with trend and prevention