Vulnerability · Published Dec 15, 2023 · Assigned by GitLab

CVE-2023-5512Improper Control of Generation of Code ('Code Injection') in GitLab

Medium 4.8

In plain English

A medium-severity code injection in GitLab from GitLab. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 43% of all known vulnerabilities).

Severity (CVSS 3.1)4.8Medium
Exploit odds (30 days)0.5%top 57.4% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official description

An issue has been discovered in GitLab CE/EE affecting all versions from 16.3 before 16.4.4, all versions starting from 16.5 before 16.5.4, all versions starting from 16.6 before 16.6.2. File integrity may be compromised when specific HTML encoding is used for file names leading for incorrect representation in the UI.

Affected products (as reported)

VendorProductVersions
GitLab GitLab 16.3 – before 16.4.416.5 – before 16.5.416.6 – before 16.6.2

Weakness: CWE-94 · Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N

References