{"id":"CVE-2023-6159","summary":"Inefficient Regular Expression Complexity in GitLab","details":"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.","aliases":["BIT-gitlab-2023-6159"],"modified":"2026-09-11T03:48:13.931814326Z","published":"2024-01-26T02:02:29.909Z","database_specific":{"cwe_ids":["CWE-1333"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/6xxx/CVE-2023-6159.json","cna_assigner":"GitLab"},"references":[{"type":"WEB","url":"https://about.gitlab.com/releases/2024/01/25/critical-security-release-gitlab-16-8-1-released/"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/6xxx/CVE-2023-6159.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-6159"},{"type":"REPORT","url":"https://gitlab.com/gitlab-org/gitlab/-/issues/431924"},{"type":"REPORT","url":"https://hackerone.com/reports/2251278"},{"type":"PACKAGE","url":"git://git@gitlab.com:gitlab-org/gitlab.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://gitlab.com/gitlab-org/gitlab","events":[{"introduced":"c6ca82f7978161022addd02f0528cf4b93e96d01"},{"fixed":"7da037032f0d42a455bbc7624c23bf64e637fb5e"},{"introduced":"9e7d34f7ff11405ece06ec398b66965d153cee6f"},{"fixed":"bb0e47b487a5af315a14e4060c5297c70b3d6f13"},{"introduced":"1e912d57d5a8f1135f4d41e25469069790134d41"},{"fixed":"1242b44772043e8c0a7eb4dd7be2d7e6aa5ce029"}],"database_specific":{"extracted_events":[{"introduced":"12.7"},{"fixed":"16.6.6"},{"introduced":"16.7"},{"fixed":"16.7.4"},{"introduced":"16.8"},{"fixed":"16.8.1"}],"source":"AFFECTED_FIELD"}}],"versions":["v16.8.0-ee","v16.7.3-ee","v16.7.0-ee"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-6159.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}