CVE-2021-39938: Medium severity gitlab vulnerability

Published Dec 13, 2021
·
Updated

A vulnerable regular expression pattern in GitLab CE/EE since version 8.15 before 14.3.6, all versions starting from 14.4 before 14.4.4, all versions starting from 14.5 before 14.5.2, allows an attacker to cause uncontrolled resource consumption leading to Denial of Service via specially crafted deploy Slash commands

Affected Software

6 affected components
GitLab GitLab>=8.15.0<14.3.6
GitLab GitLab>=8.15.0<14.3.6
GitLab GitLab>=14.4.0<14.4.4
GitLab GitLab>=14.4.0<14.4.4
GitLab GitLab>=14.5.0<14.5.2
GitLab GitLab>=14.5.0<14.5.2

Event History

Dec 13, 2021
CVE Published
via MITRE·03:47 PM
Data Sourced
via MITRE·03:47 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2021-39938?

CVE-2021-39938 is classified as a Denial of Service vulnerability leading to uncontrolled resource consumption.

2

How do I fix CVE-2021-39938?

To fix CVE-2021-39938, upgrade your GitLab installation to version 14.3.6 or later, or to version 14.4.4 or later, or to version 14.5.2 or later.

3

Which versions of GitLab are affected by CVE-2021-39938?

CVE-2021-39938 affects GitLab CE/EE versions from 8.15 to less than 14.3.6, from 14.4 to less than 14.4.4, and from 14.5 to less than 14.5.2.

4

What kind of attack does CVE-2021-39938 facilitate?

CVE-2021-39938 allows an attacker to exploit a vulnerable regex pattern causing Denial of Service via resource exhaustion.

5

Is CVE-2021-39938 present in all GitLab editions?

Yes, CVE-2021-39938 is present in both GitLab Community Edition (CE) and Enterprise Edition (EE) in the specified vulnerable versions.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203