Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in GitLab (GitLab GitLab)
At a glance
- Source
- NVD
- EPSS
- EPSS 3.78 % · percentile 90 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- GitLab
- NVD status
- Modified
Description
An issue has been discovered in GitLab CE/EE affecting all versions from 16.0 prior to 16.6.6, 16.7 prior to 16.7.4, and 16.8 prior to 16.8.1 which allows an authenticated user to write files to arbitrary locations on the GitLab server while creating a workspace.
Weaknesses (CWE)
- CWE-22 — Improper Limitation of a Pathname to a Restricted Directory
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | CRITICAL 9.9 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H | GitLab |
| CVSS 3.1 | CRITICAL 9.9 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H | NVD · cve@gitlab.com (Secondary) |
| CVSS 3.1 | CRITICAL 9.9 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H | NVD · nvd@nist.gov (Primary) |
European references
- ENISA EUVD · EUVD-2024-16198
- GCVE · GCVE-0-2024-0402
CERT-FR advisories
- CERTFR-2024-AVI-0069 — Multiples vulnérabilités dans Gitlab · cert.ssi.gouv.fr
- CERTFR-2024-ALE-002 — [Mà J] Multiples Vulnérabilités dans GitLab · cert.ssi.gouv.fr
Affected configurations (NVD CPE)
cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*≥ 16.0.0 < 16.5.8cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*≥ 16.0.0 < 16.5.8cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*≥ 16.6.0 < 16.6.6cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*≥ 16.6.0 < 16.6.6cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*≥ 16.7.0 < 16.7.4cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*≥ 16.7.0 < 16.7.4cpe:2.3:a:gitlab:gitlab:16.8.0:*:*:*:community:*:*:*cpe:2.3:a:gitlab:gitlab:16.8.0:*:*:*:enterprise:*:*:*
Affected products
| Product | Versions |
|---|---|
| GitLab · GitLab | affected 16.0 < 16.5.8 ; affected 16.6 < 16.6.6 ; affected 16.7 < 16.7.4 ; affected 16.8 < 16.8.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 |