CVE-2023-0756: Code Injection
An issue has been discovered in GitLab affecting all versions before 15.9.6, all versions starting from 15.10 before 15.10.5, all versions starting from 15.11 before 15.11.1. The main branch of a repository with a specially crafted name allows an attacker to create repositories with malicious code, victims who clone or download these repositories will execute arbitrary code on their systems.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
GitLabto a version that resolves this vulnerability.Fixed in 15.9.6 - Upgrade
Upgrade
GitLabto a version that resolves this vulnerability.Fixed in 15.10.5 - Upgrade
Upgrade
GitLabto a version that resolves this vulnerability.Fixed in 15.11.1
Event History
Frequently Asked Questions
What is the severity of CVE-2023-0756?
CVE-2023-0756 is considered a high severity vulnerability due to its potential to allow malicious repository creation.
How do I fix CVE-2023-0756?
To fix CVE-2023-0756, update GitLab to version 15.9.6 or later, or to versions 15.10.5 and later.
What versions of GitLab are affected by CVE-2023-0756?
CVE-2023-0756 affects all GitLab versions prior to 15.9.6, between 15.10 and 15.10.5, and between 15.11 and 15.11.1.
What type of attack does CVE-2023-0756 enable?
CVE-2023-0756 enables attackers to create repositories with malicious code by exploiting specially crafted repository names.
When was CVE-2023-0756 disclosed?
The details regarding CVE-2023-0756 were publicly disclosed as part of the GitLab vulnerability reporting process.