PHP2Shell: Read our blog on the critical RCE vulnerabilities affecting 70% of the Internet

CVE-2024-7610: 
GitLab vulnerability analysis and mitigation

Overview

A Denial of Service (DoS) condition has been discovered in GitLab CE/EE affecting all versions starting with 15.9 before 17.0.6, 17.1 prior to 17.1.4, and 17.2 prior to 17.2.2. The vulnerability allows an attacker to cause catastrophic backtracking while parsing results from Elasticsearch (NVD).

Technical details

The vulnerability exists in the search functionality where very long lines with matches in code results can trigger catastrophic backtracking when search results are parsed and highlighting is calculated. The issue specifically occurs in the regular expression located in ee/lib/gitlab/elastic/search_results.rb when processing highlights from Elasticsearch. The vulnerability has been assigned a CVSS v3.1 base score of 6.5 (MEDIUM) with vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (NVD).

Impact

When exploited, this vulnerability can cause the Puma process CPU usage to climb rapidly with a low rate of traffic, potentially leading to a denial of service condition. The impact is particularly severe when processing large files with matches in code results (GitLab Issue).

Exploitability

The vulnerability can be triggered by uploading a large file (such as a JSON file without newlines) and performing search operations on it. An example proof of concept involves using a 264 MB JSON file and executing repeated search queries, which causes the CPU usage to increase significantly (GitLab Issue).

Mitigation and workarounds

The issue has been addressed in GitLab versions 17.0.6, 17.1.4, and 17.2.2. Users are advised to upgrade to these or newer versions to mitigate the vulnerability (NVD).

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Debian

Fixed

sid

gitlab: 17.3.5-2

Fixed

Source: This report was generated using AI

Related GitLab vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-15723HIGH8.2
  • GitLab logoGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesOct 22, 2026
CVE-2026-12664MEDIUM6.8
  • GitLab logoGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesOct 22, 2026
CVE-2026-16255MEDIUM5.9
  • GitLab logoGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesOct 22, 2026
CVE-2026-13319MEDIUM4.3
  • GitLab logoGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesOct 22, 2026
CVE-2026-14288LOW3.1
  • GitLab logoGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesOct 22, 2026

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