CVE-2017-1000159 Command injection in n/a

High 7.8 Published Updated

Attackers can execute arbitrary commands via crafted filenames when printing to PDF in Evince, requiring users to update the application.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2017-1000159?

CVE-2017-1000159 is a high-severity command injection vulnerability in n/a, published on 27 Nov 2017. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

Command injection in evince via filename when printing to PDF. This affects versions earlier than 3.25.91.

Weakness: CWE-78

Which versions are affected by CVE-2017-1000159?

It affects 1 product.

Linux distribution packages (8)
evince SUSE:Linux Enterprise Desktop 12 SP3All versions3.20.2-6.22.9
evince SUSE:Linux Enterprise Server 11 SP4All versions2.28.2-0.7.3.1
evince SUSE:Linux Enterprise Server 12 SP3All versions3.20.2-6.22.9
evince SUSE:Linux Enterprise Server for SAP Applications 11 SP4All versions2.28.2-0.7.3.1
evince SUSE:Linux Enterprise Server for SAP Applications 12 SP3All versions3.20.2-6.22.9
evince SUSE:Linux Enterprise Software Development Kit 11 SP4All versions2.28.2-0.7.3.1
evince SUSE:Linux Enterprise Software Development Kit 12 SP3All versions3.20.2-6.22.9
evince SUSE:Linux Enterprise Workstation Extension 12 SP3All versions3.20.2-6.22.9

Products include Gnome Evince.

How do I fix CVE-2017-1000159?

Upgrade to a fixed version.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2017-1000159 being exploited?

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

Sources

Also known as DEBIAN-CVE-2017-1000159, DLA-1204-1, GHSA-vvj5-83p2-x3pp, MGASA-2017-0450, SUSE-SU-2018:0639-1, SUSE-SU-2018:0947-1 and 2 more.

Is CVE-2017-1000159 in your software?

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

Check your SBOMs for free