Security Resilience

CVE-2023-4522

Gitlab ≤ 16.2.0

Public PoC
Published
30 August 2023
Modified
04 November 2025
CVSS Score v3.1 4.3
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
EPSS Score 0.012 68th percentile
Risk Priority 39 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2023-4522 is a medium-severity Improper Validation of Specified Type of Input (CWE-1287) vulnerability in Gitlab. Its CVSS base score is 4.3 (Medium).

Operationally, exploitation aligns with the MITRE ATT&CK technique Masquerade File Type (T1036.008); ranked in the top 32% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

EU & UK References

Vulnerability Data

An issue has been discovered in GitLab affecting all versions before 16.2.0. Committing directories containing LF character results in 500 errors when viewing the commit.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

MITRE ATT&CK v20.0

T1036.008 Masquerade File Type Stealth
Adversaries may masquerade malicious payloads as legitimate files through changes to the payload's formatting, including the file’s signature, extension, icon, and contents.
T1216.001 PubPrn Stealth
Adversaries may use PubPrn to proxy execution of malicious remote files.
T1218.002 Control Panel Stealth
Adversaries may abuse control.
T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
T1203 Exploitation for Client Execution Execution
Adversaries may exploit software vulnerabilities in client applications to execute code.
T1499.004 Application or System Exploitation Impact
Adversaries may exploit software vulnerabilities that can cause an application or system to crash and deny availability to users.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2023-3900Same product: Gitlab Gitlab
CVE-2023-3904Same product: Gitlab Gitlab
CVE-2023-3906Same product: Gitlab Gitlab
CVE-2023-3917Same product: Gitlab Gitlab
CVE-2026-93577Same product: Gitlab Gitlab
CVE-2026-110264Same product: Gitlab Gitlab
CVE-2024-12093Same product: Gitlab Gitlab
CVE-2026-0723Same product: Gitlab Gitlab
CVE-2026-89078Same product: Gitlab Gitlab
CVE-2026-1092Same product: Gitlab Gitlab

Affected Assets

gitlab
gitlab
≤ 16.2.0

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

—

Detect
Catch it (NIST detect / respond)

—

Harden
Shrink the surface (DISA STIG)

—

Validate
Prove the fix (OWASP ASVS)
  • V1.1.1
  • V1.4.2
  • V2.1.1
  • V2.2.2

Mitigating Controls (NIST CSF 2.0)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.

PR.PS-06 mostly match
blocks

Secure SDLC practices directly require proper input type validation during development.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

Security testing can detect type-validation flaws but does not prevent them during development.

prevents

Secure coding standards directly require proper type validation of all external inputs.

prevents

A.8.30 carries secure design, coding and testing practice (8.25–8.29) into outsourced development, which reduces ordinary implementation-phase input-validation weaknesses like CWE-1287 in delivered code, but its effect depends on those other controls and is bounded by supplier practice, matching the clause's declared ceiling.

finds

A.8.8's reach is disclosure-based (vulnerability scanning, published advisories, third-party library tracking); CWE-1287 is a first-party implementation defect whose bulk in custom code is never published as a CVE, so A.8.8 finds only the minority of instances that surface as advisories in third-party components or are caught by its penetration-testing component.

References