CVE-2024-8647 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in GitLab
MediumCVSS 5.4
EPSS 0.43%
- Published
- Updated
- Exploit status
- No public exploit known
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| gitlab | >= 15.2, < 17.4.6 | 17.4.6 |
| gitlab | >= 17.5, < 17.5.4 | 17.5.4 |
| gitlab | >= 17.6, < 17.6.2 | 17.6.2 |
| gitlab | >= 15.2.0, < 17.4.6 | 17.4.6 |
| gitlab | >= 17.5.0, < 17.5.4 | 17.5.4 |
| gitlab | >= 17.6.0, < 17.6.2 | 17.6.2 |
References
- GitLab Issue #486051 exploit issue-tracking permissions-required vendor-advisory
- HackerOne Bug Bounty Report #2666341 exploit permissions-required technical-description