CVE-2024-0402 in the critical feed json
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in GitLab
published 2y ago modified 2mo ago also BIT-gitlab-2024-0402 , EUVD-2024-16198
- cvss
- 9.9
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 3.8%
- EPSS 3.8% chance of exploitation in 30 days, percentile 90%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- bitnami gitlab 16.5.8, 16.6.6, 16.7.4, 16.8.1
- GitLab GitLab 16.5.8, 16.6.6, 16.7.4, 16.8.1
Is CVE-2024-0402 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- total
- Assessed
- last yr.
Exploit prediction
3.78% chance of exploitation in the next 30 days, higher than 90% of all scored CVEs (FIRST EPSS, 2026-11-14).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 9.9 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
| NVD | 3.1 | 9.9 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
| OSV | 3.1 | 9.9 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| bitnami | gitlab | >=16.0.0, <16.5.8 >=16.6.0, <16.6.6 >=16.7.0, <16.7.4 >=16.8.0, <16.8.1 |
16.5.8 16.6.6 16.7.4 16.8.1 |
Affected products
- GitLab GitLab
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
- Technology feeds
References
-
about.gitlab.com
/releases/2024/01/25/critical-security-release-gitlab-16-8-1-released/
vendor-advisory, advisory
-
gitlab.com
/gitlab-org/gitlab/-/issues/437819
issue-tracking, broken-link, web
-
nvd.nist.gov
/vuln/detail/CVE-2024-0402
web
Sources
- CVE List CVE-2024-0402
- NVD CVE-2024-0402
- OSV BIT-gitlab-2024-0402
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Enhance with deb and rpm package type records.