CVE-2023-3385 json
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in GitLab
published 2023-08-01 3 y ago modified 2026-09-10 1 mo ago also BIT-gitlab-2023-3385 , EUVD-2023-44052
- cvss
- 6.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.9%
- EPSS 0.9% chance of exploitation in 30 days, percentile 58%
- public exploits
- 0
- none known
Summary
An issue has been discovered in GitLab affecting all versions starting from 8.10 before 16.0.8, all versions starting from 16.1 before 16.1.3, all versions starting from 16.2 before 16.2.2. Under specific circumstances, a user importing a project 'from export' could access and read unrelated files via uploading a specially crafted file. This was due to a bug in `tar`, fixed in [`tar-1.35`](https://lists.gnu.org/archive/html/info-gnu/2023-07/msg00005.html).
Patch / fix
- bitnami gitlab 16.0.8, 16.1.3, 16.2.2
- GitLab GitLab 16.0.8, 16.1.3, 16.2.2
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2023-3385 updated
gitlab: tar utility causes importing a project access to read unauthorized files
-
Red Hat OpenShift Container Platform 4 openshift4/ose-consolenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.86% chance of exploitation in the next 30 days, higher than 58% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- hackerone.com https://hackerone.com/reports/2032730 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 6.3 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N |
| NVD | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| OSV | 3.1 | 6.3 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| bitnami | gitlab | >=8.10.0, <16.0.8 >=16.1.0, <16.1.3 >=16.2.0, <16.2.2 |
16.0.8 16.1.3 16.2.2 |
Affected products
- GitLab GitLab
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
- Technology feeds
References
-
hackerone.com
/reports/2032730
technical-description, exploit, permissions-required, web
-
gitlab.com
/gitlab-org/gitlab/-/issues/416161
issue-tracking, broken-link, web
-
nvd.nist.gov
/vuln/detail/CVE-2023-3385
web
Sources
- CVE List CVE-2023-3385
- NVD CVE-2023-3385
- OSV BIT-gitlab-2023-3385
Fencer Vulns 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.