CVE-2017-10708 Path traversal in n/a

High 7.8 Published Updated

Remote attackers can execute arbitrary code via crafted crash files due to path traversal in Apport's hook execution.

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

What is CVE-2017-10708?

CVE-2017-10708 is a high-severity path traversal vulnerability in n/a, published on 18 Jul 2017. 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

An issue was discovered in Apport through 2.20.x. In apport/report.py, Apport sets the ExecutablePath field and it then uses the path to run package specific hooks without protecting against path traversal. This allows remote attackers to execute arbitrary code via a crafted .crash file.

Weakness: CWE-22

Which versions are affected by CVE-2017-10708?

It affects 1 product.

Products include Apport Project Apport.

How do I fix CVE-2017-10708?

Apply the vendor's patch.

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

Is CVE-2017-10708 being exploited?

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

Sources

Also known as GHSA-r8ph-m677-xqfj, UBUNTU-CVE-2017-10708, USN-3354-1.

Is CVE-2017-10708 in your software?

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

Check your SBOMs for free