CVE-2023-4522: Improper Validation of Specified Type of Input in GitLab
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.
Security readout for executives and security teams
Plain-English summary
This is a GitLab availability issue. A user with low privileges can commit a directory name containing an LF character, causing 500 errors when the commit is viewed. The cited record does not indicate data theft or data modification, but affected commit views may become unavailable.
Executive priority
Prioritize remediation during the next normal security patch cycle, sooner for shared or externally reachable GitLab instances with broad contributor access. The risk is service disruption, not confirmed compromise.
Technical view
CVE-2023-4522 is improper input validation in GitLab before 16.2.0. The CVSS 3.1 vector is AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L, meaning network-reachable, low-complexity availability impact requiring some privileges.
Likely exposure
Exposure is most likely for GitLab deployments running versions before 16.2.0 where users can commit repository content. The source bundle does not identify specific editions, configurations, or hosted service exposure beyond GitLab versions before 16.2.0.
Exploitation context
The bundle includes a HackerOne report tagged as exploit, but no KEV listing and no cited evidence of active exploitation. Treat this as a plausible authenticated denial-of-service condition, not a confirmed exploited-in-the-wild vulnerability.
Researcher notes
Evidence is limited to the CVE summary and referenced issue/report metadata. The core condition is LF input in committed directory names causing commit-view failures. Avoid assuming confidentiality or integrity impact because the CVSS vector records none.
Mitigation direction
Upgrade GitLab to version 16.2.0 or later.
Review GitLab vendor guidance for any backported package updates.
Restrict repository commit permissions to trusted users where practical.
Monitor for unexpected 500 errors when viewing commits.
Validation and detection
Inventory GitLab versions and flag any instance below 16.2.0.
Confirm who can commit to repositories on affected instances.
Check application logs for commit-view 500 errors.
Verify the issue no longer appears after applying vendor updates.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · low confidence lookup
CWE-1287: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
1CVSS vectors
3Timeline events
1ADP providers
4Source links
CVSS vector scores
1 official score
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-1287 · source CWE mapping
Improper Validation of Specified Type of Input
Improper Validation of Specified Type of Input represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.