Skip to content

CVE-2024-0402 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in GitLab

CriticalCVSS 9.9 EPSS 3.8%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: total
Technology
Ubuntu

Description

An issue has been discovered in GitLab CE/EE affecting all versions from 16.0 prior to 16.6.6, 16.7 prior to 16.7.4, and 16.8 prior to 16.8.1 which allows an authenticated user to write files to arbitrary locations on the GitLab server while creating a workspace.

Upgrade path

2 packages: 1 fixed, 1 with no fix yet.

PackageAffectedFixed inStatus
ubuntu/gitlab(Ubuntu 16.04) = 8.4.3+dfsg-9; = 8.4.3+dfsg-12; = 8.5.8+dfsg-5; All versions No fix listed No fix yet
gitlab = 16.8.0; >= 16.0, < 16.5.8; >= 16.0.0, < 16.5.8; >= 16.6, < 16.6.6 +4 more 16.5.8, 16.6.6, 16.7.4, 16.8.1 Fixed

Affected products

ProductAffected versionsFixed in
gitlab >= 16.0, < 16.5.8 16.5.8
gitlab >= 16.6, < 16.6.6 16.6.6
gitlab >= 16.7, < 16.7.4 16.7.4
gitlab >= 16.8, < 16.8.1 16.8.1
gitlab >= 16.0.0, < 16.5.8 16.5.8
gitlab >= 16.6.0, < 16.6.6 16.6.6
gitlab >= 16.7.0, < 16.7.4 16.7.4
gitlab = 16.8.0 No fix listed
ubuntu/gitlab(Ubuntu:16.04) All versions No fix listed
ubuntu/gitlab(Ubuntu:16.04) = 8.4.3+dfsg-9 No fix listed
ubuntu/gitlab(Ubuntu:16.04) = 8.4.3+dfsg-12 No fix listed
ubuntu/gitlab(Ubuntu:16.04) = 8.5.8+dfsg-5 No fix listed

References