CVE-2021-22218
GitLab vulnerability analysis and mitigation

Overview

All versions of GitLab CE/EE starting from 12.8 before 13.10.5, all versions starting from 13.11 before 13.11.5, and all versions starting from 13.12 before 13.12.2 were affected by an issue in the handling of x509 certificates that could be used to spoof author of signed commits (Debian Security).

Technical details

The vulnerability stems from improper validation of x509 certificates in GitLab's commit signing verification process. The system incorrectly displayed commits signed with x509 certificates as 'Verified' without properly checking the email associated with the certificate, allowing for potential identity spoofing in commit signatures (GitLab Issue).

Impact

This vulnerability allows attackers to impersonate other users in the GitLab web interface by creating commits that appear to be verified and signed by other users. The issue specifically affects the commit verification system, where commits signed with x509 certificates for any email address would be displayed as 'Verified' regardless of the email's association with the GitLab account (GitLab Issue).

Mitigation and workarounds

The issue has been fixed in GitLab versions 13.10.5, 13.11.5, and 13.12.2. Users are advised to upgrade to these or later versions to mitigate the vulnerability (Debian Security).

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-12571HIGH7.5
  • GitLabGitLab
  • cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*
NoYesNov 26, 2025
CVE-2025-7449MEDIUM6.5
  • GitLabGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesNov 26, 2025
CVE-2025-12653MEDIUM6.5
  • GitLabGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesNov 26, 2025
CVE-2025-13611MEDIUM5.3
  • GitLabGitLab
  • cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*
NoYesNov 26, 2025
CVE-2025-6195MEDIUM4.3
  • GitLabGitLab
  • 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