CVE-2024-8237
High · 7.5CVSS
7.5
EPSS
0.6%
Published
Nov 26, 2024
CISA due date
—
Cloudanix analysis
A flaw lets attackers shut down a code hosting service by sending a specially made file, interrupting work for development teams until fixed.
- Exploitation
- Remote Authenticated
- Attacker needs
- Low Privilege
- Complexity
- Moderate
- Impact
- Denial Of Service
- Component
- Application
- Class
- Denial of service
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
A crafted cargo.toml file triggers a denial of service condition in GitLab CE/EE, crashing or hanging the application process.
Why it matters to the business
Attackers can interrupt development and collaboration services, causing downtime for teams that rely on the platform for code management and CI/CD.
How an attack unfolds
An attacker prepares a malicious cargo.toml file and submits it through a GitLab feature that parses dependency files, causing the server to enter a resource exhaustion or crash state.
How to fix it
Upgrade GitLab CE/EE to version 17.4.5, 17.5.3, or 17.6.1 or later. Apply the listed kernel fixes for the affected Ubuntu packages where GitLab is deployed on those distributions.
How to confirm the fix worked
Confirm the running GitLab version meets or exceeds the fixed releases; test file processing with sample cargo.toml files to verify stability; review system logs for absence of prior crash signatures after upgrade.
Typical attack path
- Locate a reachable GitLab instance running an affected version
- Create a specially crafted cargo.toml file designed to trigger the flaw
- Upload or cause the file to be processed by the GitLab server
- Observe service degradation or outage resulting from the DoS
How to detect it
Review GitLab application and system logs for repeated crashes or high CPU/memory spikes coinciding with cargo.toml processing events; check audit logs for unexpected file uploads or dependency parsing activity around the time of service issues.
What your security team should do
- Prioritize upgrade of all GitLab instances to the fixed versions immediately due to the public disclosure
- Monitor for unusual resource usage or application restarts on GitLab servers
- Restrict upload or processing of dependency files from untrusted sources until patched
The record
A Denial of Service (DoS) issue has been discovered in GitLab CE/EE affecting all versions prior to 12.6 prior to 17.4.5, 17.5 prior to 17.5.3, and 17.6 prior to 17.6.1. An attacker could cause a denial of service with a crafted cargo.toml file.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Bitnami | gitlab | 12.6.0 | 17.4.5 |
| Chainguard | gitlab-docker-machine-17.6 | 0 | 17.6.1-r0 |
| Chainguard | gitlab-docker-machine-fips-17.6 | 0 | 17.6.1-r0 |
| Chainguard | gitlab-runner-17.6 | 0 | 17.6.1-r0 |
| Chainguard | gitlab-runner-fips-17.6 | 0 | 17.6.1-r0 |
| Chainguard | gitlab-runner-helper-17.6 | 0 | 17.6.1-r0 |
| Chainguard | gitlab-runner-helper-compat-17.6 | 0 | 17.6.1-r0 |
| Chainguard | gitlab-runner-helper-fips-17.6 | 0 | 17.6.1-r0 |
| Chainguard | gitlab-runner-helper-oci-entrypoint-17.6 | 0 | 17.6.1-r0 |
| Chainguard | gitlab-runner-oci-entrypoint-17.6 | 0 | 17.6.1-r0 |
| 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