Medium severity4.3NVD Advisory· Published Dec 13, 2021· Updated Jun 17, 2026
CVE-2021-39940
CVE-2021-39940
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
6- Range: from 13.2 before 14.3.6, from 14.4 before 14.4.4, from 14.5 before 14.5.2
from 13.2 before 14.3.6, from 14.4 before 14.4.4, from 14.5 before 14.5.2+ 3 more
- (no CPE)range: from 13.2 before 14.3.6, from 14.4 before 14.4.4, from 14.5 before 14.5.2
- cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*range: >=13.2.0,<14.3.6
- cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*range: >=13.2.0,<14.3.6
- (no CPE)range: >=14.5, <14.5.2
Patches
Vulnerability mechanics
References
3- gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-39940.jsonnvdThird Party Advisory
- hackerone.com/reports/997961nvdPermissions RequiredThird Party Advisory
- gitlab.com/gitlab-org/gitlab/-/issues/263116nvdBroken Link
News mentions
0No linked articles in our index yet.