CVE-2019-15598 Treekill Enables OS Command Injection

Critical 9.8 Published Updated

Attackers can execute arbitrary code on Windows systems by controlling input to the treekill Node.js library.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2019-15598?

CVE-2019-15598 is a critical command injection vulnerability in treekill, published on 18 Dec 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A Code Injection exists in treekill on Windows which allows a remote code execution when an attacker is able to control the input into the command.

Weakness: CWE-78, CWE-94

Which versions are affected by CVE-2019-15598?

2 open source packages ship an affected version, including tree-kill. It affects 1 product.

PackageAffectedFixed in
tree-kill npmAll versions1.2.2
tree-kill npmAll versions1.2.2

Products include Tree-Kill Project Tree-Kill.

How do I fix CVE-2019-15598?

Upgrade tree-kill to 1.2.2 or later.

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

Is CVE-2019-15598 being exploited?

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

Sources

Also known as GHSA-j7fq-p9q7-5wfv.

Is CVE-2019-15598 in your software?

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

Check your SBOMs for free