CVE-2017-14804 package builds could use directory traversal to write outside of target area

Critical 9.9 Published Updated

Attackers can exploit directory traversal in the build package to write files outside the intended buildroot, potentially leading to code execution or privilege escalation.

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-14804?

CVE-2017-14804 is a critical path traversal vulnerability in Opensuse Leap, published on 1 Mar 2018. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

The build package before 20171128 did not check directory names during extraction of build results that allowed untrusted builds to write outside of the target system,allowing escape out of buildroots.

Weakness: CWE-20, CWE-22

Which versions are affected by CVE-2017-14804?

It affects 2 products.

Linux distribution packages (2)
build SUSE:Linux Enterprise Module for Development Tools 15All versions20190128-3.3.2
build openSUSE:Leap 15.0All versions20190128-lp150.2.3.1

Products include Opensuse Leap, Suse Linux Enterprise Software Development Kit.

How do I fix CVE-2017-14804?

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

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

All Opensuse Leap vulnerabilities

Sources

Also known as DEBIAN-CVE-2017-14804, GHSA-q7c2-6g86-6v93, SUSE-SU-2019:0387-1, UBUNTU-CVE-2017-14804, openSUSE-SU-2019:0232-1.

Is CVE-2017-14804 in your software?

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

Check your SBOMs for free