CVE-2024-6826
NoneCVSS
—
EPSS
0.5%
Published
Oct 24, 2024
CISA due date
—
Cloudanix analysis
Attackers can make GitLab stop working by uploading a specially made file during project imports.
- Exploitation
- Remote Authenticated
- Attacker needs
- Low Privilege
- Complexity
- Low
- Impact
- Denial Of Service
- Component
- Application
- Class
- Denial of service
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Maliciously crafted XML manifest files trigger excessive resource consumption during import processing, resulting in denial of service.
Why it matters to the business
GitLab instances can experience service outages or degraded performance when users import projects, leading to lost productivity and potential data access issues until the instance is restarted or recovered.
How an attack unfolds
An attacker creates a specially crafted XML manifest file designed to exhaust CPU, memory, or other resources during parsing. They then use the project import feature in an affected GitLab version to upload the file, causing the instance to become unresponsive.
How to fix it
Upgrade GitLab to version 17.3.6 or later, 17.4.3 or later, or 17.5.1 or later. The fix is included in commit cf36eeb39e6b055c08297149dc98ad1cc90248be.
How to confirm the fix worked
Verify the running GitLab version is at or above the fixed releases. Test the import functionality with known-safe manifest files and monitor resource usage during imports to confirm the issue is resolved.
Typical attack path
- Craft a malicious XML manifest file that triggers resource exhaustion on import
- Authenticate to a GitLab instance with permission to import projects
- Initiate a project import using the crafted XML file
- Observe service degradation or crash on the GitLab instance
How to detect it
Review application logs for import job failures or timeouts, monitor system metrics for sudden resource spikes tied to XML processing, and inspect audit logs for project import events from untrusted sources.
What your security team should do
- Immediately upgrade all GitLab instances to a fixed version
- Restrict project import permissions to trusted users until patched
- Monitor system resources and import-related processes for unusual spikes
The record
An issue has been discovered in GitLab CE/EE affecting all versions from 11.2 before 17.3.6, 17.4 before 17.4.3, and 17.5 before 17.5.1. A denial of service could occur via importing a malicious crafted XML manifest file.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Bitnami | gitlab | 11.2.0 | 17.3.6 |
| Ubuntu:16.04:LTS | gitlab | 0 | No fix |
| Ubuntu:Pro:16.04:LTS | gitlab | 0 | No fix |
Related vulnerabilities
- CVE-2026-1751 A vulnerability has been discovered in GitLab CE/EE affecting all versions starting with… Also affects gitlab
- CVE-2025-3950 Exposure of Private Personal Information to an Unauthorized Actor in GitLab Also affects gitlab
- CVE-2025-9222 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in… Also affects gitlab
- CVE-2025-10569 Allocation of Resources Without Limits or Throttling in GitLab Also affects gitlab
- CVE-2025-11246 Insufficient Granularity of Access Control in GitLab Also affects gitlab
- CVE-2025-13772 Missing Authorization in GitLab Also affects gitlab
- CVE-2025-13761 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in… Also affects gitlab
- CVE-2025-13781 Missing Authorization in GitLab Also affects gitlab