CVE-2023-3385

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

State
Published
Severity
6.3 Medium
Published
Aug 1, 2023
Updated
Nov 20, 2025
Reserved
Jun 23, 2023

Read the record on cve.org

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

Scores

CVSSScoreVectorSource
3.16.3 MediumCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:NGitLab

Weaknesses

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Affected Products

ProductVersions
GitLabGitLab
  • 8.10 to before 16.0.8Affected
  • 16.1.0 to before 16.1.3Affected
  • 16.2.0 to before 16.2.2Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.