CVE-2018-19640 Code execution if run with command line switch -v

Medium 4.4 Published Updated

Attackers can execute arbitrary commands or kill processes if supportutils is run with the -v switch and log directory files are manipulated.

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-2018-19640?

CVE-2018-19640 is a medium-severity command injection vulnerability in SUSE supportutils, published on 5 Mar 2019. 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

If the attacker manages to create files in the directory used to collect log files in supportutils before version 3.1-5.7.1 (e.g. with CVE-2018-19638) he can kill arbitrary processes on the local machine.

Weakness: CWE-20, CWE-377

Which versions are affected by CVE-2018-19640?

It affects 1 product.

Products include Opensuse Supportutils.

How do I fix CVE-2018-19640?

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-2018-19640 being exploited?

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

Sources

Also known as GHSA-7g5j-9rpf-g2r7.

Is CVE-2018-19640 in your software?

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

Check your SBOMs for free