SQL Injection Affecting pouchdb package, versions <1.1.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

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 IDnpm:pouchdb:20131221
  • published13 Mar 2017
  • disclosed20 Dec 2013
  • creditNolan Lawson

Introduced: 20 Dec 2013

CVE NOT AVAILABLE CWE-89  (opens in a new tab)

How to fix?

Upgrade pouchdb to version 1.1.0 or higher.

Overview

pouchdb is PouchDB is a pocket-sized database. Affected versions of the package are vulnerable to SQL Injection due to not properly escaping the startkey/endkey in the allDocs() function. You can read more about SQL Injection on our blog.

CVSS Base Scores

version 3.1