Vulnerability · Published Aug 2, 2023 · Assigned by GitLab
CVE-2023-3401Improper Control of Generation of Code ('Code Injection') in GitLab
Medium 4.8
In plain English
A medium-severity code injection in GitLab from GitLab. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 48% of all known vulnerabilities).
Severity (CVSS 3.1)4.8Medium
Exploit odds (30 days)0.6%top 52.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known
Official description
An issue has been discovered in GitLab affecting all versions before 16.0.8, all versions starting from 16.1 before 16.1.3, all versions starting from 16.2 before 16.2.2. The main branch of a repository with a specially designed name allows an attacker to create repositories with malicious code.
Affected products (as reported)
Weakness: CWE-94 · Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N
References
- GitLab Issue #416252 issue-tracking
- HackerOne Bug Bounty Report #2031845 technical-description, exploit, permissions-required, broken-link