CVE-2021-39914
GitLab vulnerability analysis and mitigation

Overview

A regular expression denial of service (ReDoS) vulnerability was identified in GitLab versions 8.13 to 14.2.5, 14.3.0 to 14.3.3, and 14.4.0. The vulnerability was discovered internally by the GitLab team and was assigned CVE-2021-39914. The issue could trigger excessive resource usage when a specially crafted username was used during new user provisioning (GitLab Release).

Technical details

The vulnerability stems from a problematic regular expression used in the namespace path cleaning functionality. The regex pattern was susceptible to backtracking issues when processing long malicious strings, which could cause the CPU to max out at 100% until the process was terminated. The issue was rated as low severity with a CVSS score of 3.1 (CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L) (GitLab Release).

Impact

When exploited, this vulnerability could cause excessive CPU usage on the GitLab server. Repeated attacks could potentially tie up significant system resources, affecting the server's performance and availability (GitLab Issue).

Mitigation and workarounds

The vulnerability was patched in GitLab versions 14.4.1, 14.3.4, and 14.2.6. Users are strongly recommended to upgrade to one of these versions or later to mitigate the issue (GitLab Release).

Additional resources


SourceThis report was generated using AI

Related GitLab vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-12571HIGH7.5
  • GitLabGitLab
  • cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*
NoYesNov 26, 2025
CVE-2025-7449MEDIUM6.5
  • GitLabGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesNov 26, 2025
CVE-2025-12653MEDIUM6.5
  • GitLabGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesNov 26, 2025
CVE-2025-13611MEDIUM5.3
  • GitLabGitLab
  • cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*
NoYesNov 26, 2025
CVE-2025-6195MEDIUM4.3
  • GitLabGitLab
  • gitlab
NoYesNov 26, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management