CVE-2020-7603 OS Command Injection in closure-compiler-stream

Critical 9.8 Published Updated

Attackers can execute arbitrary commands via unsanitized options in the closure-compiler-stream npm library.

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-7603?

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

Official description

closure-compiler-stream through 0.1.15 allows execution of arbitrary commands. The argument "options" of the exports function in "index.js" can be controlled by users without any sanitization.

Weakness: CWE-78

Which versions are affected by CVE-2020-7603?

2 open source packages ship an affected version, including closure-compiler-stream. It affects 1 product.

PackageAffectedFixed in
closure-compiler-stream npmAll versions to 0.1.15None
closure-compiler-stream npmAll versions to 0.1.15None

Products include Closure-Compiler-Stream Project Closure-Compiler-Stream.

How do I fix CVE-2020-7603?

No fix has been published for CVE-2020-7603 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-7603 being exploited?

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

Sources

Also known as GHSA-m647-5wf9-3jp3.

Is CVE-2020-7603 in your software?

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

Check your SBOMs for free