CVE-2017-16020:
Unsafe eval() in summit allows arbitrary code execution
9.8
CVSS Score
3.0
Basic Information
CVE ID
GHSA ID
EPSS Score
0.73588%
CWE
Published
9/1/2020
Updated
11/14/2023
KEV Status
No
Technology
JavaScript
Technical Details
CVSS Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
summit | npm | >= 0.1.0, <= 0.1.22 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from unsafe use of eval()
with unsanitized user input (collection names) when generating filter functions for PouchDB. The GitHub issue #23 explicitly shows the vulnerable pattern where collection names are concatenated into a function string that is then executed via eval()
. This matches the CWE-94 (Code Injection) classification and the advisory description of arbitrary command execution via collection names.