Vulnerability in Gitlab
CVE-2021-39940
An issue has been discovered in GitLab CE/EE affecting all versions starting from 13.2 before 14.3.6, all versions starting from 14.4 before 14.4.4, all versions starting from 14.5 before 14.5.2. GitLab Maven Package registry is vulnerable to a regular expression denial of service when a specifically crafted string is sent.
Vulnerability class: ReDoS (Regular Expression Denial of Service)
EPSS: 0.015 (70.9th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 4.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L.
Affected products
- Gitlab — versions >=14.5, <14.5.2, >=14.4, <14.4.4, >=13.2, <14.3.6
Weakness classification (CWE)
References
- cve@gitlab.com (x_refsource_MISC, Broken Link)
- cve@gitlab.com (Permissions Required, Third Party Advisory, x_refsource_MISC)
- cve@gitlab.com (x_refsource_CONFIRM, Third Party Advisory)
Frequently asked questions
- What is CVE-2021-39940?
- CVE-2021-39940 is a medium-severity vulnerability in Gitlab, classified under Inefficient Regular Expression Complexity. CVSS score: 4.3/10. Published 2021-12-13.
- How severe is CVE-2021-39940?
- Medium severity. CVSS v3 base score is 4.3 out of 10.