CVE-2021-22178
GitLab vulnerability analysis and mitigation

Overview

An issue was discovered in GitLab affecting all versions starting from 13.2, identified as CVE-2021-22178. The vulnerability involved a Server-Side Request Forgery (SSRF) attack vector through the Prometheus integration service. This security flaw was reported through GitLab's HackerOne bug bounty program and was publicly disclosed on February 11, 2021 (GitLab Release).

Technical details

The vulnerability is classified as CWE-918 (Server-Side Request Forgery) with a CVSS v3.1 Base Score of 5.0 (Medium) and vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N. The issue specifically affected the Prometheus integration service in GitLab, allowing potential SSRF attacks through the API URL and Google IAP Service Account JSON configuration (NVD).

Impact

The SSRF vulnerability allowed attackers to issue arbitrary POST requests into local networks. The severity of the impact could vary depending on the services running on the local network. For instance, if a Docker daemon was listening on localhost:2375, attackers could potentially read files by issuing POST requests to build images from remote dockerfiles (GitLab Issue).

Mitigation and workarounds

GitLab addressed this vulnerability in versions 13.8.4, 13.7.7, and 13.6.7 for both Community Edition (CE) and Enterprise Edition (EE). Users were strongly recommended to upgrade their GitLab installations to one of these patched versions immediately (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-7449MEDIUM6.5
  • GitLabGitLab
  • gitlab
NoYesNov 26, 2025
CVE-2025-12653MEDIUM6.5
  • GitLabGitLab
  • gitlab
NoYesNov 26, 2025
CVE-2024-9183MEDIUM6.4
  • GitLabGitLab
  • cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*
NoYesDec 05, 2025
CVE-2025-13611MEDIUM5.3
  • GitLabGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesNov 26, 2025
CVE-2025-6195MEDIUM4.3
  • GitLabGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesNov 26, 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