CVE-2023-3385
published medium CVSS 3.1 · 6.3Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in GitLab
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| GitLab | — | GitLab8.10 to < 16.0.8 · 16.1.0 to < 16.1.3 · 16.2.0 to < 16.2.2 · Other versions: unaffected | Affected | Not stated | GitLab |
| gitlab | — | gitlab8.10 to < 16.0.8 · 16.1.0 to < 16.1.3 · 16.2.0 to < 16.2.2 · Other versions: unknown | Affected | Not stated | CISA-ADP |
Description
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).
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.3 / 10
- Severity
- medium
- Provider
- GitLab · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| GitLab | GitLab | 8.10 to < 16.0.8 (affected · semver)16.1.0 to < 16.1.3 (affected · semver)16.2.0 to < 16.2.2 (affected · semver)Default: unaffected | GitLab · cna |
| gitlab | gitlab | 8.10 to < 16.0.8 (affected · custom)16.1.0 to < 16.1.3 (affected · custom)16.2.0 to < 16.2.2 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-22 CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
References
2- GitLab Issue #416161 https://gitlab.com/gitlab-org/gitlab/-/issues/416161
- HackerOne Bug Bounty Report #2032730 https://hackerone.com/reports/2032730
Provider assertions
3GitLab · cna
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in GitLab
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 30782511bb6d458d95ec65f5c2604325b3982d940837f2c935fedb2778277222
- Ingested
- 23 Sep 2026, 08:10:53 UTC
- Source record
- Official CVE record