The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
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
    • 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-9631

CVE-2024-9631: GitLab Merge Request DoS Vulnerability

CVE-2024-9631 is a denial of service vulnerability in GitLab CE/EE that causes slow performance when viewing merge request diffs with conflicts. This article covers the technical details, affected versions, impact, and mitigation.

Updated: January 22, 2026

CVE-2024-9631 Overview

A denial of service vulnerability has been discovered in GitLab Community Edition (CE) and Enterprise Edition (EE) affecting all versions starting from 13.6. The vulnerability allows unauthenticated attackers to cause significant performance degradation when viewing merge request diffs that contain conflicts. This algorithmic complexity issue can lead to service unavailability, impacting the availability of GitLab instances.

Critical Impact

Unauthenticated attackers can trigger denial of service conditions by exploiting inefficient processing of merge request diffs with conflicts, potentially making GitLab instances unresponsive.

Affected Products

  • GitLab Community Edition (CE) versions 13.6 prior to 17.2.9
  • GitLab Enterprise Edition (EE) versions 17.3 prior to 17.3.5
  • GitLab Community Edition (CE) and Enterprise Edition (EE) versions 17.4 prior to 17.4.2

Discovery Timeline

  • 2025-02-05 - CVE-2024-9631 published to NVD
  • 2025-08-06 - Last updated in NVD database

Technical Details for CVE-2024-9631

Vulnerability Analysis

This vulnerability is classified under CWE-407 (Inefficient Algorithmic Complexity) and CWE-770 (Allocation of Resources Without Limits or Throttling). The core issue lies in how GitLab processes and renders merge request diffs that contain conflicts. When a merge request with numerous or complex conflicts is viewed, the diff processing algorithm consumes excessive computational resources without proper throttling or optimization.

The vulnerability is exploitable over the network without requiring authentication or user interaction. An attacker can craft or trigger merge requests with specific conflict patterns that cause the diff rendering process to become extremely slow, consuming server resources and potentially causing service degradation or complete unavailability for other users.

Root Cause

The root cause stems from inefficient algorithmic handling of merge request conflict resolution visualization. The diff processing logic lacks adequate resource management controls, allowing computationally expensive operations to execute without proper limits. When processing merge requests with conflicts, the system performs excessive comparisons or allocations, leading to algorithmic complexity attacks.

Attack Vector

The attack can be executed remotely over the network. An attacker can submit or trigger merge requests designed to create conflict patterns that maximize processing time. When any user attempts to view the diff of such a merge request, the server enters a degraded state due to resource exhaustion. Since no authentication is required to trigger this condition in certain configurations, the attack surface is significant for publicly accessible GitLab instances.

The vulnerability mechanism involves creating or exploiting merge requests where the diff contains extensive conflicts. When the GitLab server attempts to process and display these conflicting diffs, the algorithm's inefficiency results in disproportionate resource consumption. Technical details regarding the specific exploitation patterns can be found in the GitLab Issue Report and HackerOne Report #2650086.

Detection Methods for CVE-2024-9631

Indicators of Compromise

  • Unusual CPU or memory spikes on GitLab application servers when processing merge request views
  • Slow or unresponsive merge request diff pages, particularly those with conflict markers
  • Increased page load times or timeouts specifically affecting merge request functionality
  • Log entries indicating timeouts or resource exhaustion during diff rendering operations

Detection Strategies

  • Monitor GitLab application logs for repeated timeout errors associated with merge request diff processing
  • Implement performance monitoring to detect abnormal resource consumption patterns during merge request operations
  • Configure alerting for sustained high CPU or memory usage on GitLab web workers
  • Review access logs for patterns of repeated requests to merge request diff endpoints

Monitoring Recommendations

  • Deploy application performance monitoring (APM) solutions to track GitLab merge request processing times
  • Set up resource utilization alerts with thresholds appropriate for your infrastructure baseline
  • Monitor GitLab Sidekiq queues for backlogs that may indicate processing delays
  • Implement rate limiting on merge request diff viewing endpoints where feasible

How to Mitigate CVE-2024-9631

Immediate Actions Required

  • Upgrade GitLab CE/EE to version 17.2.9 or later for the 17.2.x branch
  • Upgrade GitLab CE/EE to version 17.3.5 or later for the 17.3.x branch
  • Upgrade GitLab CE/EE to version 17.4.2 or later for the 17.4.x branch
  • Review and restrict access to merge request functionality for untrusted users if immediate patching is not possible

Patch Information

GitLab has released security patches addressing this vulnerability in versions 17.2.9, 17.3.5, and 17.4.2. Organizations should upgrade to these versions or later to remediate the vulnerability. The patches introduce optimizations and resource limits for merge request diff processing to prevent denial of service conditions. For detailed patch information, refer to the GitLab Issue Report.

Workarounds

  • Implement rate limiting at the web server or load balancer level for merge request diff endpoints
  • Restrict merge request creation permissions to authenticated and trusted users
  • Configure web server timeouts to terminate long-running diff processing requests
  • Consider temporarily disabling conflict diff visualization if attacks are actively occurring
bash
# Example nginx rate limiting configuration for GitLab merge request endpoints
# Add to your nginx configuration file

# Define rate limiting zone
limit_req_zone $binary_remote_addr zone=gitlab_mr_limit:10m rate=5r/s;

# Apply rate limiting to merge request diff endpoints
location ~ ^/.*/-/merge_requests/.*/diffs {
    limit_req zone=gitlab_mr_limit burst=10 nodelay;
    proxy_pass http://gitlab-workhorse;
}

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.10%

  • 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-407

  • CWE-770
  • Technical References
  • GitLab Issue Report

  • HackerOne Report #2650086
  • Related CVEs
  • CVE-2026-1101: GitLab EE GraphQL DoS Vulnerability

  • CVE-2026-1092: GitLab CE/EE DoS Vulnerability

  • CVE-2025-12664: GitLab GraphQL DoS Vulnerability

  • CVE-2025-13078: GitLab Webhook DOS Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now 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