CVE-2023-4522
GitLab vulnerability analysis and mitigation

Overview

A vulnerability (CVE-2023-4522) was discovered in GitLab affecting all versions before 16.2.0. The issue occurs when committing directories containing Line Feed (LF) characters, which results in 500 errors when attempting to view the commit through the GitLab web interface (NVD).

Technical details

The vulnerability has a CVSS v3.1 Base Score of 5.3 (Medium) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L. The issue manifests when directories containing LF characters (%0a or \n) are committed to a repository, causing various 500 Internal Server Errors when attempting to view commit details, merge request changes, or browse the affected directories in the web interface (GitLab Issue).

Impact

The vulnerability affects the availability of GitLab's web interface functionality. When exploited, it disrupts regular processes such as reviewing merge requests and viewing portions of a project via the web UI. While the commit details cannot be viewed in the Web UI, they remain accessible using a local git repository (GitLab Issue).

Mitigation and workarounds

The vulnerability was fixed in GitLab version 16.2.0. Users should upgrade to this version or later to address the issue (NVD).

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