CVE-2024-8177
GitLab vulnerability analysis and mitigation

Overview

An issue was discovered in GitLab CE/EE affecting all versions starting from 15.6 prior to 17.4.5, starting from 17.5 prior to 17.5.3, and starting from 17.6 prior to 17.6.1 which could cause Denial of Service via integrating a malicious harbor registry (GitLab Release, NVD).

Technical details

The vulnerability stems from a lack of response size checking in the Gitlab::Harbor::Client.get method. When a /harbor/repositories page is requested, the GitLab server connects to the Harbor registry server to fetch information. Due to the missing size check, an attacker-controlled Harbor registry server can send responses with large body (300MB JSON file) to the GitLab application, which are then parsed by Gitlab::Json consuming significant RAM. The vulnerability has been assigned a CVSS v3.1 base score of 5.3 (Medium) with the vector string CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H (GitLab Issue, NVD).

Impact

The exploitation of this vulnerability can lead to a complete service outage. Triggering just two requests from GitLab to a malicious Harbor registry server is sufficient to consume all available memory of a 1k-users self-managed GitLab EE instance, making it unreachable for legitimate users (GitLab Issue).

Mitigation and workarounds

The vulnerability has been patched in GitLab versions 17.4.5, 17.5.3, and 17.6.1. Users are strongly recommended to upgrade to these versions immediately. GitLab.com is already running the patched version, and GitLab Dedicated customers do not need to take action (GitLab Release).

Additional resources


SourceThis report was generated using AI

Related GitLab vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-8405HIGH8.7
  • GitLabGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesDec 11, 2025
CVE-2025-12029HIGH8
  • GitLabGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesDec 11, 2025
CVE-2025-11984MEDIUM6.8
  • GitLabGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesDec 11, 2025
CVE-2025-4097MEDIUM6.5
  • GitLabGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesDec 11, 2025
CVE-2025-12734LOW3.5
  • GitLabGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesDec 11, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management