Improper Control of Generation of Code ('Code Injection') in GitLab (GitLab GitLab)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.58 % · percentile 48 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- GitLab
- NVD status
- Modified
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.
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 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N | NVD · nvd@nist.gov (Primary) |
European references
- ENISA EUVD · EUVD-2023-44068
- GCVE · GCVE-0-2023-3401
CERT-FR advisories
- CERTFR-2023-AVI-0991 — Multiples vulnérabilités dans GitLab · cert.ssi.gouv.fr
- CERTFR-2023-AVI-0610 — Multiples vulnérabilités dans GitLab · cert.ssi.gouv.fr
Affected configurations (NVD CPE)
cpe:2.3:a:gitlab:gitlab:*:*:*:*:*:*:*:*< 16.0.8cpe:2.3:a:gitlab:gitlab:*:*:*:*:*:*:*:*≥ 16.1 < 16.1.3cpe:2.3:a:gitlab:gitlab:*:*:*:*:*:*:*:*≥ 16.2 < 16.2.2
Affected products
| Product | Versions |
|---|---|
| GitLab · GitLab | affected 0 < 16.0.8 ; affected 16.1.0 < 16.1.3 ; affected 16.2.0 < 16.2.2 |
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 |