{"id":"GHSA-cwcp-6c48-fm7m","summary":"Unsafe eval() in summit allows arbitrary code execution","details":"Affected versions of `summit` allow attackers to execute arbitrary commands via collection names when using the `PouchDB` driver.\n\n## Recommendation\n\nNo direct patch is available at this time.\n\nCurrently, the best option to mitigate the issue is to avoid using the `PouchDB` driver, as the package author has abandoned this feature entirely.","aliases":["CVE-2017-16020"],"modified":"2023-11-14T21:08:18Z","published":"2020-09-01T16:39:38Z","database_specific":{"severity":"CRITICAL","github_reviewed":true,"github_reviewed_at":"2020-08-31T18:18:59Z","nvd_published_at":"2018-06-04T19:29:01Z","cwe_ids":["CWE-94"]},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2017-16020"},{"type":"WEB","url":"https://github.com/notduncansmith/summit/issues/23"},{"type":"PACKAGE","url":"https://github.com/fredhohman/summit"}],"affected":[{"package":{"name":"summit","ecosystem":"npm","purl":"pkg:npm/summit"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.1.0"},{"last_affected":"0.1.22"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/09/GHSA-cwcp-6c48-fm7m/GHSA-cwcp-6c48-fm7m.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}