Unsafe use of eval() Affecting summit package, versions >=0.1.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.21% (60th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Unsafe use of eval() vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDnpm:summit:20160408
  • published16 Apr 2017
  • disclosed8 Apr 2016
  • creditCristian-Alexandru Staicu, Michael Pradel, Ben Livshits

Introduced: 8 Apr 2016

CVE-2017-16020  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

There is no fix version for summit.

Overview

summit is a node web framework.

Affected versions of this package are vulnerable to Arbitrary Command Execution via the eval() function in the PouchDB driver. Node.js provides the eval() function by default, and is used to translate strings into Javascript code. An attacker can craft a malicious payload instead of a valid collection name to inject arbitrary commands.

CVSS Scores

version 3.1