CVE-2013-4582 Path traversal in GitLab

Medium 6.5 Published Updated

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.

All Gitlab Gitlab vulnerabilities

Sources

Also known as GHSA-wpgv-98gg-67q7.

Is CVE-2013-4582 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free