A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2024-2800

CVE-2024-2800: GitLab ReDoS Denial of Service Vulnerability

CVE-2024-2800 is a Regular Expression Denial of Service flaw in GitLab EE/CE that enables attackers to trigger DoS through regex backtracking. This article covers technical details, affected versions, impact, and mitigation.

Published: June 2, 2026

CVE-2024-2800 Overview

CVE-2024-2800 is a regular expression denial of service (ReDoS) vulnerability in GitLab Community Edition (CE) and Enterprise Edition (EE). The flaw resides in the RefMatcher component used to match branch names against wildcard patterns. An unauthenticated remote attacker can trigger catastrophic regex backtracking by submitting crafted branch name patterns, exhausting CPU resources on the GitLab instance.

The vulnerability affects all GitLab versions from 11.3 prior to 17.0.6, 17.1 prior to 17.1.4, and 17.2 prior to 17.2.2. The issue is tracked under CWE-1333: Inefficient Regular Expression Complexity.

Critical Impact

Remote attackers can cause denial of service against GitLab instances without authentication by exploiting regex backtracking in branch name matching.

Affected Products

  • GitLab Community Edition (CE) versions 11.3 through 17.0.5
  • GitLab Enterprise Edition (EE) versions 17.1 through 17.1.3
  • GitLab CE/EE versions 17.2 through 17.2.1

Discovery Timeline

  • 2024-08-08 - CVE-2024-2800 published to the National Vulnerability Database
  • 2024-09-18 - Last updated in NVD database

Technical Details for CVE-2024-2800

Vulnerability Analysis

The vulnerability stems from inefficient regular expression handling in the RefMatcher class, which evaluates Git reference names against user-supplied wildcard patterns. When the matcher processes specially crafted branch name patterns, the underlying regex engine enters a state of catastrophic backtracking. This consumes significant CPU time and blocks request-processing threads.

GitLab uses RefMatcher in workflows such as protected branch enforcement, push rules, and merge request validation. Because branch name patterns can be supplied through standard repository operations, attackers do not require elevated privileges. The result is exhaustion of worker processes that handle Git operations, degrading availability for legitimate users.

Root Cause

The root cause is a regex pattern in RefMatcher that contains nested quantifiers or overlapping alternations without anchoring constraints. When matched against adversarial input, the regex engine explores an exponential number of paths before failing. This pattern complexity falls under [CWE-1333].

Attack Vector

An attacker submits a crafted branch name or wildcard pattern through any GitLab interface that invokes RefMatcher. Triggering paths include Git push operations, REST/GraphQL API calls that configure protected branches, and merge request creation. The attack requires no authentication in configurations where these features are publicly reachable. Repeated requests amplify CPU exhaustion across worker pools.

No verified public exploit code is available for this issue. Technical context is documented in the GitLab Issue Tracker Entry and HackerOne Report #2416332.

Detection Methods for CVE-2024-2800

Indicators of Compromise

  • Sustained CPU saturation on GitLab Rails or Sidekiq worker processes without a corresponding increase in legitimate request volume.
  • Slow or timing-out Git operations, particularly those involving protected branch checks or push rules.
  • Repeated requests from a single source containing unusually long or pathological branch name patterns.
  • Application logs showing extended request durations tied to RefMatcher or branch matching code paths.

Detection Strategies

  • Monitor request latency percentiles for endpoints handling branch operations and protected branch configuration.
  • Alert on Rails worker timeouts or Unicorn/Puma request kills that correlate with branch-related controller actions.
  • Inspect web server access logs for branch name parameters exceeding reasonable length thresholds.

Monitoring Recommendations

  • Forward GitLab application logs, Sidekiq logs, and reverse proxy logs to a centralized logging platform for correlation.
  • Track baseline CPU and memory metrics for GitLab application nodes and trigger alerts on sustained anomalies.
  • Review audit events for unusual branch protection configuration activity, particularly from unauthenticated or low-privilege sources.

How to Mitigate CVE-2024-2800

Immediate Actions Required

  • Upgrade GitLab CE/EE to version 17.0.6, 17.1.4, 17.2.2, or later as appropriate for your release branch.
  • Audit GitLab instances exposed to the public internet and restrict access to authenticated users where feasible.
  • Apply rate limiting at the reverse proxy or load balancer to limit the volume of branch-related operations per client.

Patch Information

GitLab released fixes in versions 17.0.6, 17.1.4, and 17.2.2. Administrators should follow standard GitLab upgrade procedures and verify version output via gitlab-rake gitlab:env:info after upgrading. See the GitLab Issue Tracker Entry for additional fix details.

Workarounds

  • Place GitLab behind a web application firewall configured to reject excessively long branch name parameters.
  • Restrict GitLab API and Git access to authenticated networks using IP allowlisting until patches are deployed.
  • Reduce Rails request timeouts to fail fast on pathological regex evaluations and free worker capacity.
bash
# Verify GitLab version after upgrade
sudo gitlab-rake gitlab:env:info | grep "GitLab information" -A 5

# Example NGINX rate limit for branch-related endpoints
# limit_req_zone $binary_remote_addr zone=gitlab_branches:10m rate=10r/s;
# location ~ /api/v4/projects/.*/repository/branches { limit_req zone=gitlab_branches burst=20; }

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechGitlab

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.07%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-1333
  • Technical References
  • GitLab Issue Tracker Entry

  • HackerOne Report #2416332
  • Related CVEs
  • CVE-2026-1402: GitLab Denial of Service Vulnerability

  • CVE-2026-8280: GitLab CE/EE DOS Vulnerability

  • CVE-2026-1659: GitLab CE/EE Denial of Service Vulnerability

  • CVE-2026-1184: GitLab EE Denial of Service Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English