Live threats

All CVEs / Gitlab

CVE-2021-39940Gitlab

Medium 6.5

Priority
39
CVSS 3.1
6.5
EPSS
1.6%
probability of exploitation in 30 days · percentile 76
Auth required
Yes
Published
Dec 13, 2021
Updated
Jun 17, 2026
Category
Server · Cross-platform
Weakness (CWE)
CWE-1333
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Gitlab.

Affected products (CPE)

VendorProductVersions
gitlabgitlab≥ 13.2.0 < 14.3.6
gitlabgitlab≥ 13.2.0 < 14.3.6
gitlabgitlab≥ 14.4.0 < 14.4.4
gitlabgitlab≥ 14.4.0 < 14.4.4
gitlabgitlab≥ 14.5.0 < 14.5.2
gitlabgitlab≥ 14.5.0 < 14.5.2

Official sources

References

Links published by the sources. Open them with care.