SQL Injection Affecting @nozbe/watermelondb package, versions <0.15.1


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.08% (35th 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 SQL Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-NOZBEWATERMELONDB-571372
  • published4 Jun 2020
  • disclosed4 Jun 2020
  • creditUnknown

Introduced: 4 Jun 2020

CVE-2020-4035  (opens in a new tab)
CWE-89  (opens in a new tab)

How to fix?

Upgrade @nozbe/watermelondb to version 0.15.1 or higher.

Overview

@nozbe/watermelondb is a Reactive & asynchronous database for powerful React and React Native apps.

Affected versions of this package are vulnerable to SQL Injection. A maliciously crafted record ID can exploit a SQL Injection vulnerability in iOS adapter implementation and cause the app to delete all or selected records from the database, generally causing the app to become unusable.

CVSS Scores

version 3.1