6.5medium
Inefficient Regular Expression Complexity in GitLab
- Severity
- 6.5medium CVSS:3.1 by GitLab
- Exploit likelihood
- 1.07% (higher than 64% of CVEs)
- Published
- Last changed
- Assigned by
- GitLab
- Also known as
- BIT-GITLAB-2023-6159
Description
An issue has been discovered in GitLab CE/EE affecting all versions from 12.7 prior to 16.6.6, 16.7 prior to 16.7.4, and 16.8 prior to 16.8.1 It was possible for an attacker to trigger a Regular Expression Denial of Service via a `Cargo.toml` containing maliciously crafted input.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| GitLab GitLab | from 12.7 before 16.6.6, from 16.7 before 16.7.4, from 16.8 before 16.8.1, from 12.7.0 before 16.6.6, from 16.7.0 before 16.7.4, 16.8.0 | CVE List, NVD |
| gitlab (Bitnami) | from 12.7.0 before 16.6.6, from 16.7.0 before 16.7.4, from 16.8.0 before 16.8.1 | Bitnami Vulnerability Database |
All scores
| GitLab | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| Bitnami Vulnerability Database | medium rating |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
An issue has been discovered in GitLab CE/EE affecting all versions from 12.7 prior to 16.6.6, 16.7 prior to 16.7.4, and 16.8 prior to 16.8.1 It was possible for an attacker to trigger a Regular Expression Denial of Service via a `Cargo.toml` containing maliciously crafted input.
NVD (es)
Se descubrió un problema en GitLab CE/EE que afecta a todas las versiones desde 12.7 anterior a 16.6.6, 16.7 anterior a 16.7.4 y 16.8 anterior a 16.8.1. Era posible que un atacante desencadenara una denegación de servicio de expresión regular a través de un `Cargo.toml` que contiene entradas manipuladas con fines malintencionados.
References
| https://about.gitlab.com/releases/2024/01/25/critical-security-release-gitlab-16-8-1-released/ | advisory, vendor-advisory | |
| https://gitlab.com/gitlab-org/gitlab/-/issues/431924 | broken-link, issue-tracking, permissions-required, web | |
| https://hackerone.com/reports/2251278 | broken-link, exploit, permissions-required, technical-description, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2023-6159 | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-6159 changed 2026-08-14 | CVE Terms of Use |
| NVD | CVE-2023-6159 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-GITLAB-2023-6159 changed 2026-09-08 | Apache-2.0 |