CVE-2023-3385 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in GitLab
MediumCVSS 6.5
EPSS 0.87%
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- Ubuntu
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| gitlab | >= 8.10, < 16.0.8 | 16.0.8 |
| gitlab | >= 16.1.0, < 16.1.3 | 16.1.3 |
| gitlab | >= 16.2.0, < 16.2.2 | 16.2.2 |
| gitlab | >= 16.1, < 16.1.3 | 16.1.3 |
| gitlab | >= 16.2, < 16.2.2 | 16.2.2 |
| 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
- GitLab Issue #416161 broken-link issue-tracking
- HackerOne Bug Bounty Report #2032730 exploit issue-tracking permissions-required technical-description
- GitLab Security Release: 16.2.2, 16.1.3, and 16.0.8 vendor-advisory
- ubuntu.com issue-tracking
- www.cve.org issue-tracking