CVE-2024-8647

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

Published Dec 12, 2024 CVSS 3.1 · 5.4 Medium EPSS < 1% KEV · Not listed
Description
An issue was discovered in GitLab affecting all versions starting 15.2 to 17.4.6, 17.5 prior to 17.5.4, and 17.6 prior to 17.6.2. On self hosted installs, it was possible to leak the anti-CSRF-token to an external site while the Harbor integration was enabled.

Remediation

Vendor Solution

Upgrade to versions 17.6.2, 17.5.4, 17.4.6 or above.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2024-49601 An issue was discovered in GitLab affecting all versions starting 15.2 to 17.4.6, 17.5 prior to 17.5.4, and 17.6 prior to 17.6.2. On self hosted installs, it was possible to leak the anti-CSRF-token to an external site while the Harbor integration was enabled.
History
Type Values Removed Values Added
Metrics epss

{'score': 0.00027}

epss

{'score': 0.00023}

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description An issue was discovered in GitLab affecting all versions starting 15.2 to 17.4.6, 17.5 prior to 17.5.4, and 17.6 prior to 17.6.2. On self hosted installs, it was possible to leak the anti-CSRF-token to an external site while the Harbor integration was enabled.
Title Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in GitLab
First Time appeared Gitlab
Gitlab gitlab
Weaknesses CWE-22
CPEs cpe:2.3:a:gitlab:gitlab:*:*:*:*:*:*:*:*
Vendors & Products Gitlab
Gitlab gitlab
References
Metrics cvssV3_1

{'score': 5.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitLab
Published
Updated
Dec 12, 2024, 3:44 PM
Reserved
Sep 10, 2024, 9:01 AM
Status
Analyzed
Published
Dec 12, 2024, 12:15 PM
Modified
Jun 17, 2026, 8:23 AM