CVE-2017-16020 Unsafe eval() in summit allows arbitrary code execution
Attackers can execute arbitrary commands via the collection name in the Summit Node.js framework when using the PouchDB driver.
- 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-2017-16020?
CVE-2017-16020 is a critical command injection vulnerability in HackerOne summit node module, published on 4 Jun 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Summit is a node web framework. When using the PouchDB driver in the module, Summit 0.1.0 and later allows an attacker to execute arbitrary commands via the collection name.
Weakness: CWE-94
Which versions are affected by CVE-2017-16020?
2 open source packages ship an affected version, including summit. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
summit npm | From 0.1.0 to 0.1.22 | None |
summit npm | From 0.1.0 to 0.1.22 | None |
Products include Summit Project Summit.
How do I fix CVE-2017-16020?
No fix has been published for CVE-2017-16020 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-2017-16020 being exploited?
There is no known exploitation of CVE-2017-16020 in the wild and no public exploit code.
Sources
Also known as GHSA-cwcp-6c48-fm7m.