// For flags

CVE-2024-0402

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

Severity Score

9.9
*CVSS v3.1

Exploit Likelihood

*EPSS

Affected Versions

*CPE

Public Exploits

0
*Multiple Sources

Exploited in Wild

-
*KEV

Decision

-
*SSVC
Descriptions

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.

Se descubrió un problema en GitLab CE/EE que afecta a todas las versiones desde 16.0 anterior a 16.6.6, 16.7 anterior a 16.7.4 y 16.8 anterior a 16.8.1, lo que permite a un usuario autenticado escribir archivos en ubicaciones arbitrarias en el servidor GitLab mientras crea un workspace.

*Credits: This vulnerability has been discovered internally by GitLab team member [joernchen](https://gitlab.com/joernchen)
CVSS Scores
Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High
* Common Vulnerability Scoring System
SSVC
  • Decision:-
Exploitation
-
Automatable
-
Tech. Impact
-
* Organization's Worst-case Scenario
Timeline
  • 2024-01-10 CVE Reserved
  • 2024-01-26 CVE Published
  • 2024-02-01 EPSS Updated
  • 2024-08-29 CVE Updated
  • ---------- Exploited in Wild
  • ---------- KEV Due Date
  • ---------- First Exploit
CWE
  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
CAPEC
Affected Vendors, Products, and Versions
Vendor Product Version Other Status
Vendor Product Version Other Status <-- --> Vendor Product Version Other Status
Gitlab
Search vendor "Gitlab"
Gitlab
Search vendor "Gitlab" for product "Gitlab"
>= 16.0.0 < 16.5.8
Search vendor "Gitlab" for product "Gitlab" and version " >= 16.0.0 < 16.5.8"
community
Affected
Gitlab
Search vendor "Gitlab"
Gitlab
Search vendor "Gitlab" for product "Gitlab"
>= 16.0.0 < 16.5.8
Search vendor "Gitlab" for product "Gitlab" and version " >= 16.0.0 < 16.5.8"
enterprise
Affected
Gitlab
Search vendor "Gitlab"
Gitlab
Search vendor "Gitlab" for product "Gitlab"
>= 16.6.0 < 16.6.6
Search vendor "Gitlab" for product "Gitlab" and version " >= 16.6.0 < 16.6.6"
community
Affected
Gitlab
Search vendor "Gitlab"
Gitlab
Search vendor "Gitlab" for product "Gitlab"
>= 16.6.0 < 16.6.6
Search vendor "Gitlab" for product "Gitlab" and version " >= 16.6.0 < 16.6.6"
enterprise
Affected
Gitlab
Search vendor "Gitlab"
Gitlab
Search vendor "Gitlab" for product "Gitlab"
>= 16.7.0 < 16.7.4
Search vendor "Gitlab" for product "Gitlab" and version " >= 16.7.0 < 16.7.4"
community
Affected
Gitlab
Search vendor "Gitlab"
Gitlab
Search vendor "Gitlab" for product "Gitlab"
>= 16.7.0 < 16.7.4
Search vendor "Gitlab" for product "Gitlab" and version " >= 16.7.0 < 16.7.4"
enterprise
Affected
Gitlab
Search vendor "Gitlab"
Gitlab
Search vendor "Gitlab" for product "Gitlab"
16.8.0
Search vendor "Gitlab" for product "Gitlab" and version "16.8.0"
community
Affected
Gitlab
Search vendor "Gitlab"
Gitlab
Search vendor "Gitlab" for product "Gitlab"
16.8.0
Search vendor "Gitlab" for product "Gitlab" and version "16.8.0"
enterprise
Affected