MEDIUM

CVE-2023-3385

Gitlab GitLab 2023-08-02 CVSS v3.1
CVSS
6.5

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

Summary dbcve.org

A path traversal vulnerability in GitLab's project import feature allows authenticated users to read arbitrary files on the server by uploading a specially crafted tar archive during project import from export. The vulnerability stems from a bug in the tar library used by GitLab.

Mitigation

Upgrade GitLab to version 16.0.8, 16.1.3, 16.2.2 or later to resolve the tar parsing bug. Until upgraded, disable or restrict project import from export for untrusted users.

Weakness (CWE)

CWE-22 Path Traversal

EPSS Score

0.87%
Probability of exploitation in next 30 days
57.1th percentile

References

View on dbcve.org
Base CVE data derived from NVD (public domain). Enrichment by dbcve.org (CC-BY-4.0). Fetched via API.
Back to CVE