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)

Published · last modified .

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.

EPSS exploit prediction

EPSS: 0.015 (72.5th percentile), scored .

Low probability of exploitation in the next 30 days, but still tracked. 73rd percentile — 72.5% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2021-39940: held from 0.015 to 0.015.

EPSS over last 30 days · oldest: 0.015 · newest: 0.015 · change: 0.000

Affected products

  • GitLab — versions >=14.5, <14.5.2, >=14.4, <14.4.4, >=13.2, <14.3.6

Weakness classification (CWE)

References

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.