Improper Control of Generation of Code ('Code Injection') in GitLab (GitLab GitLab)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.55 % · percentile 46 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- GitLab
- NVD status
- Modified
Description
An issue has been discovered in GitLab affecting all versions before 16.4.3, all versions starting from 16.5 before 16.5.3, all versions starting from 16.6 before 16.6.1. Under certain circumstances, a malicious actor bypass prohibited branch checks using a specially crafted branch name to manipulate repository content in the UI.
Weaknesses (CWE)
- CWE-94 — Improper Control of Generation of Code
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | MEDIUM 4.8 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N | GitLab |
| CVSS 3.1 | MEDIUM 4.8 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N | NVD · cve@gitlab.com (Secondary) |
| CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N | NVD · nvd@nist.gov (Primary) |
European references
- ENISA EUVD · EUVD-2023-57555
- GCVE · GCVE-0-2023-5226
CERT-FR advisories
- CERTFR-2023-AVI-0991 — Multiples vulnérabilités dans GitLab · cert.ssi.gouv.fr
Affected configurations (NVD CPE)
cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*< 16.4.3cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*< 16.4.3cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*≥ 16.5.0 < 16.5.3cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*≥ 16.5.0 < 16.5.3cpe:2.3:a:gitlab:gitlab:16.6.0:*:*:*:community:*:*:*cpe:2.3:a:gitlab:gitlab:16.6.0:*:*:*:enterprise:*:*:*
Affected products
| Product | Versions |
|---|---|
| GitLab · GitLab | affected 0 < 16.4.3 ; affected 16.5 < 16.5.3 ; affected 16.6 < 16.6.1 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |