SecurityContext

CVE-2021-39940: GitLab Maven Registry - Denial of Service

  • Cve: CVE-2021-39940
  • Name: GitLab Maven Registry - Denial of Service
  • 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.
  • Impact: Attackers can cause denial of service, leading to service unavailability and potential disruption of GitLab operations.
  • Remediation: Update to GitLab version 14.3.6, 14.4.4, or 14.5.2 or later.
  • Vulnerability type: misconfiguration
  • Vulnerability impact: denial_of_service
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 6.5
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
  • Epss score: 0.0157
  • Epss percentile: 0.75877
  • Assignee: [email protected]
  • Published at: 2021-12-13T16:15:09Z
  • Age in days: 1807
  • Modified at: 2026-06-17T04:04:27Z
  • Patch available: yes
  • References total: 2
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-39940
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-1333Inefficient Regular Expression Complexity

References

UrlSourceTags
https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-39940.jsonnvdThird Party Advisory
https://hackerone.com/reports/997961nvdPermissions Required, Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
gitlab:gitlab>= 14.5.0, < 14.5.2; >= 14.4.0, < 14.4.4; >= 13.2.0, < 14.3.6nonvd/v1/products/gitlab/gitlab

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Authentication required: yes
  • Exposed hosts: 66493
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports