CVE-2020-7640 OS Command Injection in pixl-class

Critical 9.8 Published Updated

Attackers can execute arbitrary commands via unsanitized input in the create function of the pixl-class 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-2020-7640?

CVE-2020-7640 is a critical command injection vulnerability in pixl-class, published on 27 Apr 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

pixl-class prior to 1.0.3 allows execution of arbitrary commands. The members argument of the create function can be controlled by users without any sanitization.

Weakness: CWE-78

Which versions are affected by CVE-2020-7640?

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

PackageAffectedFixed in
pixl-class npmAll versions1.0.3
pixl-class npmAll versions1.0.3

Products include Pixlcore Pixl-Class.

How do I fix CVE-2020-7640?

Upgrade pixl-class to 1.0.3 or later.

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

Is CVE-2020-7640 being exploited?

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

Sources

Also known as GHSA-vm5j-vqr6-v7v8, SNYK-JS-PIXLCLASS-564968.

Is CVE-2020-7640 in your software?

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

Check your SBOMs for free