CVE-2017-5188 OBS worker VM escape via relative symbolic links

Medium 5.0 Published Updated

An attacker can read files outside the package source directory during build via relative symbolic links, leaking private information.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2017-5188?

CVE-2017-5188 is a medium-severity path traversal vulnerability in openSUSE open build service, published on 1 Mar 2018. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

The bs_worker code in open build service before 20170320 followed relative symlinks, allowing reading of files outside of the package source directory during build, allowing leakage of private information.

Weakness: CWE-59, CWE-200

Which versions are affected by CVE-2017-5188?

It affects 1 product.

Products include Opensuse Open Build Service.

How do I fix CVE-2017-5188?

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-5188 being exploited?

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

Sources

Also known as DEBIAN-CVE-2017-5188, GHSA-m6v2-2pmh-qf44, UBUNTU-CVE-2017-5188.

Is CVE-2017-5188 in your software?

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

Check your SBOMs for free