CVE-2023-2030
GitLab vulnerability analysis and mitigation

Overview

An issue has been discovered in GitLab CE/EE affecting all versions from 12.2 prior to 16.5.6, 16.6 prior to 16.6.4, and 16.7 prior to 16.7.2 in which an attacker could potentially modify the metadata of signed commits. The vulnerability was reported through GitLab's HackerOne bug bounty program by researcher lotsofloops (GitLab Release, Debian Tracker).

Technical details

The vulnerability stems from how Gitaly, GitLab's Git RPC service, extracts signatures from commits. The extractSignatures function in commit_signatures.go incorrectly assumes that gpgsig is always the last header item and includes everything after gpgsig in the signature data. This implementation flaw allows additional headers to be added after the gpgsig header while still maintaining a valid signature verification status in GitLab. The issue has been assigned a CVSS score of 3.5 (CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N) indicating low severity (GitLab Release).

Impact

The vulnerability allows an attacker to modify certain aspects of signed commits while maintaining their verified status in GitLab. This includes the ability to change author name/email/date, committer date, and add additional commit parents. Since Git computes commit diffs based on commit parents, this could be exploited to alter the base used for generating diffs (GitLab Issue).

Mitigation and workarounds

The vulnerability has been patched in GitLab versions 16.5.6, 16.6.4, and 16.7.2. Users are strongly recommended to upgrade to these or newer versions to mitigate the risk. The fix involves correcting how GitLab handles signature verification for commits (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-9222HIGH8.7
  • GitLabGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesJan 09, 2026
CVE-2025-13761HIGH8
  • GitLabGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesJan 09, 2026
CVE-2025-13772HIGH7.1
  • GitLabGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesJan 09, 2026
CVE-2025-13781MEDIUM6.5
  • GitLabGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesJan 09, 2026
CVE-2025-3950LOW3.5
  • GitLabGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesJan 09, 2026

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