Skip to main content

CVE-2025-1072: GitLab Fogbugz Importer DoS Vulnerability

CVE-2025-1072 is a denial of service flaw in GitLab CE/EE affecting the Fogbugz importer. Maliciously crafted imports can crash the system. This article covers technical details, affected versions, and mitigation.

Published:

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

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2025-1072 Overview

CVE-2025-1072 is a denial of service vulnerability in GitLab Community Edition (CE) and Enterprise Edition (EE). The flaw resides in the Fogbugz importer, which fails to constrain resource consumption when processing crafted import payloads. An authenticated attacker with low privileges can submit malicious Fogbugz content and exhaust server resources, degrading or halting GitLab availability.

The issue affects all GitLab versions from 7.14.1 up to the fixed releases 17.3.7, 17.4.4, and 17.5.2. GitLab categorizes this under [CWE-770] (Allocation of Resources Without Limits or Throttling).

Critical Impact

Authenticated attackers can trigger service outages across GitLab CE/EE instances by abusing the Fogbugz importer, disrupting source code management and CI/CD operations for all users on the affected instance.

Affected Products

  • GitLab Community Edition (CE) versions 7.14.1 through 17.3.6
  • GitLab Enterprise Edition (EE) versions 17.4 prior to 17.4.4
  • GitLab Enterprise Edition (EE) versions 17.5 prior to 17.5.2

Discovery Timeline

  • 2025-02-07 - CVE-2025-1072 published to NVD
  • 2026-06-17 - Last updated in NVD database

Technical Details for CVE-2025-1072

Vulnerability Analysis

The vulnerability sits in the GitLab Fogbugz import workflow. GitLab allows users to migrate projects from Fogbugz by uploading an XML payload describing issues, cases, and attachments. The importer parses this payload and allocates in-memory structures and database records for each entity. The code path does not enforce size, cardinality, or complexity limits on the incoming data.

An attacker who can authenticate to a GitLab instance can craft a Fogbugz import file that forces the parser to allocate unbounded resources. Processing such a payload can starve CPU, memory, or background job workers (Sidekiq), rendering the GitLab instance unresponsive. Because the attack affects shared Rails workers, the impact extends beyond the attacker's own project and degrades service for all tenants on the instance.

Root Cause

The root cause is missing resource throttling in the Fogbugz importer code path, mapped to [CWE-770]. Input is trusted to be well-formed and reasonably sized. No upper bound governs the number of issues, comments, or attachments the importer will materialize, and no timeout or memory ceiling guards the import job.

Attack Vector

Exploitation requires network access to the GitLab web interface and valid user credentials with permission to create or import projects. The attacker initiates a project import, selects Fogbugz as the source, and supplies a maliciously inflated payload. No user interaction from administrators or victims is required. Public references include the GitLab Security Patch Release, the GitLab Issue Discussion, and HackerOne Report #2504059.

No verified public exploit code is available. See the referenced advisories for additional technical context.

Detection Methods for CVE-2025-1072

Indicators of Compromise

  • Sustained spikes in Sidekiq worker memory or CPU correlated with RepositoryImportWorker or Fogbugz-related import jobs.
  • Unusually large Fogbugz import payloads submitted via the GitLab API endpoint /api/v4/projects with import_type=fogbugz.
  • GitLab application logs showing timeouts, out-of-memory kills, or stalled background jobs during project import operations.

Detection Strategies

  • Monitor GitLab production.log and sidekiq.log for Fogbugz importer entries paired with long execution times or job retries.
  • Alert on authenticated users initiating multiple Fogbugz imports in short time windows from a single session or IP.
  • Baseline normal memory and CPU usage of GitLab Rails and Sidekiq processes; alert on sustained anomalies that coincide with import activity.

Monitoring Recommendations

  • Enable audit event logging for project import actions and forward events to a SIEM for correlation.
  • Track reverse-proxy access logs for POST requests to project import endpoints along with request body sizes.
  • Review user accounts with permission to create projects and flag new or dormant accounts suddenly performing imports.

How to Mitigate CVE-2025-1072

Immediate Actions Required

  • Upgrade GitLab CE/EE to version 17.5.2, 17.4.4, or 17.3.7 or later as applicable to your release train.
  • Audit recent project imports and user accounts that have used the Fogbugz importer since the vulnerability window opened.
  • Restrict project creation and import permissions to trusted users while patching is scheduled.

Patch Information

GitLab released fixes in versions 17.5.2, 17.4.4, and 17.3.7 on November 13, 2024. Patch details are published in the GitLab Security Patch Release. Self-managed administrators should apply the patch to all GitLab Rails and Sidekiq nodes and restart services.

Workarounds

  • Disable the Fogbugz importer in the GitLab Admin Area under Settings > General > Import and export settings if upgrading cannot be performed immediately.
  • Reduce the risk surface by limiting who can create new projects via instance-level or group-level permission controls.
  • Place GitLab behind a web application firewall rule that caps request body size for project import endpoints.
bash
# Disable the Fogbugz importer via the GitLab Rails console
sudo gitlab-rails runner "ApplicationSetting.current.update!(import_sources: ApplicationSetting.current.import_sources - ['fogbugz'])"

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

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

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.