CVE-2017-0918 Path traversal in GitLab Community and Enterprise Editions

High 8.8 Published Updated

Attackers can exploit a path traversal flaw in the GitLab CI runner to achieve remote code execution on the server.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2017-0918?

CVE-2017-0918 is a high-severity path traversal vulnerability in Debian Debian Linux, published on 21 Mar 2018. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Gitlab Community Edition version 10.3 is vulnerable to a path traversal issue in the GitLab CI runner component resulting in remote code execution.

Weakness: CWE-22, CWE-23

Which versions are affected by CVE-2017-0918?

It affects 2 products.

Products include Debian Debian Linux, Gitlab Gitlab.

How do I fix CVE-2017-0918?

Upgrade to a fixed version.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2017-0918 being exploited?

There is no known exploitation of CVE-2017-0918 in the wild and no public exploit code.

All Debian Debian Linux vulnerabilities

Sources

Also known as GHSA-cv6r-jfw8-2rmq, UBUNTU-CVE-2017-0918.

Is CVE-2017-0918 in your software?

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

Check your SBOMs for free