CVE-2016-9950 Path traversal in n/a

High 7.8 Published Updated

An attacker can exploit a path traversal in Apport crash files to execute arbitrary Python code on the local system.

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-2016-9950?

CVE-2016-9950 is a high-severity path traversal vulnerability in Canonical Ubuntu Linux, published on 17 Dec 2016. 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 before 2.20.4. There is a path traversal issue in the Apport crash file "Package" and "SourcePackage" fields. These fields are used to build a path to the package specific hook files in the /usr/share/apport/package-hooks/ directory. An attacker can exploit this path traversal to execute arbitrary Python files from the local system.

Weakness: CWE-22

Which versions are affected by CVE-2016-9950?

It affects 2 products.

Products include Apport Project Apport, Canonical Ubuntu Linux.

How do I fix CVE-2016-9950?

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-2016-9950 being exploited?

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

Public exploit code: 1 Exploit-DB entry.

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as GHSA-rgrg-wm7f-3pp8, UBUNTU-CVE-2016-9950.

Is CVE-2016-9950 in your software?

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

Check your SBOMs for free