CVE-2023-6159
JSON

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 packageVersionsReported by
GitLab GitLabfrom 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.0CVE 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.1Bitnami Vulnerability Database

All scores

GitLab6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Bitnami Vulnerability Databasemedium rating

Classification

CWE-1333

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

Sources

SourceRecordLicence
CVE ListCVE-2023-6159 changed 2026-08-14CVE Terms of Use
NVDCVE-2023-6159 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-GITLAB-2023-6159 changed 2026-09-08Apache-2.0