CVE-2023-6159 json
Inefficient Regular Expression Complexity in GitLab
published 2y ago modified 2mo ago also BIT-gitlab-2023-6159 , EUVD-2023-58409
- cvss
- 6.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.0%
- EPSS 1.0% chance of exploitation in 30 days, percentile 62%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- bitnami gitlab 16.6.6, 16.7.4, 16.8.1
- GitLab GitLab 16.6.6, 16.7.4, 16.8.1
Is CVE-2023-6159 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2y ago
Exploit prediction
0.99% chance of exploitation in the next 30 days, higher than 62% of all scored CVEs (FIRST EPSS, 2026-11-14).
Exploits and checks
- hackerone.com https://hackerone.com/reports/2251278 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| OSV | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| bitnami | gitlab | >=12.7.0, <16.6.6 >=16.7.0, <16.7.4 >=16.8.0, <16.8.1 |
16.6.6 16.7.4 16.8.1 |
Affected products
- GitLab GitLab
Classification
- Weakness
-
- CWE-1333 Inefficient Regular Expression Complexity
- Technology feeds
References
-
hackerone.com
/reports/2251278
technical-description, exploit, permissions-required, broken-link, web
-
about.gitlab.com
/releases/2024/01/25/critical-security-release-gitlab-16-8-1-released/
vendor-advisory, advisory
-
gitlab.com
/gitlab-org/gitlab/-/issues/431924
issue-tracking, permissions-required, broken-link, web
-
nvd.nist.gov
/vuln/detail/CVE-2023-6159
web
Sources
- CVE List CVE-2023-6159
- NVD CVE-2023-6159
- OSV BIT-gitlab-2023-6159
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Enhance with deb and rpm package type records.