CVE-2020-7603 OS Command Injection in closure-compiler-stream
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.
| Package | Affected | Fixed in |
|---|---|---|
closure-compiler-stream npm | All versions to 0.1.15 | None |
closure-compiler-stream npm | All versions to 0.1.15 | None |
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.