Back

MEDIUM

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in GitLab

Published Aug 1, 2023

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).

Affected products

Remediation

Vendor solution

Upgrade to versions 16.2.2, 16.1.3, 16.0.8 or above.

Red Hat statement

The GitLab package used in OpenShift is a GitLab API NodeJS library which is not affected by CVE-2023-3385.

Weaknesses (1)

References (7)

Change history (0)

No recorded changes yet.

Sources
CVE.org / MITRE
Status PUBLISHED
Assigner GitLab
Published Aug 1, 2023
Updated Nov 20, 2025
Reserved Jun 23, 2023
CISA Vulnrichment
Updated Jul 24, 2024
NVD
Status Modified
Modified Jun 17, 2026
Red Hat
Severity Moderate
Public date Aug 2, 2023
ENISA EUVD
Assigner GitLab
Published Aug 1, 2023
Updated Nov 20, 2025
Exploited since n/a
EUVD-2023-44052