CVE-2013-4582 Path traversal in GitLab
Remote authenticated users can read local files and include their content in Git repository metadata via the web interface.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2013-4582?
CVE-2013-4582 is a medium-severity path traversal vulnerability in Gitlab Gitlab, published on 28 Jan 2020. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
The (1) create_branch, (2) create_tag, (3) import_project, and (4) fork_project functions in lib/gitlab_projects.rb in GitLab 5.0 before 5.4.2, Community Edition before 6.2.4, Enterprise Edition before 6.2.1 and gitlab-shell before 1.7.8 allows remote authenticated users to include information from local files into the metadata of a Git repository via the web interface.
Weakness: CWE-829
Which versions are affected by CVE-2013-4582?
It affects 2 products.
Products include Gitlab Gitlab, Gitlab Gitlab-Shell.
How do I fix CVE-2013-4582?
No fix has been published for CVE-2013-4582 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2013-4582 being exploited?
There is no known exploitation of CVE-2013-4582 in the wild and no public exploit code.
Other vulnerabilities in Gitlab Gitlab
- CVE-2026-97229 GitLab Community Edition and Enterprise Edition Integer Overflow or Wraparound
- CVE-2026-85706 GitLab Community Edition and Enterprise Edition Path Traversal
- CVE-2023-7028 GitLab Community and Enterprise Editions Improper Access Control
- CVE-2021-22205 GitLab Community and Enterprise Editions Remote Code Execution
- CVE-2021-39935 GitLab Community and Enterprise Editions Server-Side Request Forgery (SSRF)
Sources
Also known as GHSA-wpgv-98gg-67q7.