CVE-2020-7604 OS Command Injection in pulverizr

Critical 9.8 Published Updated

Attackers can execute arbitrary commands via unsanitized filename input in the pulverizr library, requiring file creation for exploitation.

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

What is CVE-2020-7604?

CVE-2020-7604 is a critical command injection vulnerability in pulverizr, published on 15 Mar 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

pulverizr through 0.7.0 allows execution of arbitrary commands. Within "lib/job.js", the variable "filename" can be controlled by the attacker. This function uses the variable "filename" to construct the argument of the exec call without any sanitization. In order to successfully exploit this vulnerability, an attacker will need to create a new file with the same name as the attack command.

Weakness: CWE-78

Which versions are affected by CVE-2020-7604?

2 open source packages ship an affected version, including pulverizr. It affects 1 product.

PackageAffectedFixed in
pulverizr npmAll versions to 0.7.0None
pulverizr npmAll versions to 0.7.0None

Products include Pulverizr Project Pulverizr.

How do I fix CVE-2020-7604?

No fix has been published for CVE-2020-7604 yet. Limit exposure of the affected software until one is available.

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

Is CVE-2020-7604 being exploited?

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

Sources

Also known as GHSA-fmf5-j5j9-99pp.

Is CVE-2020-7604 in your software?

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

Check your SBOMs for free