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


Severity

Recommended
0.0
medium
0
10

    Threat Intelligence

    EPSS
    0.08% (33rd 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 ID SNYK-JS-NOZBEWATERMELONDB-571372
  • published 4 Jun 2020
  • disclosed 4 Jun 2020
  • credit Unknown

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
Expand this section

Snyk

6.8 medium
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    High
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Scope (S)
    Changed
  • Confidentiality (C)
    None
  • Integrity (I)
    High
  • Availability (A)
    None
Expand this section

NVD

5.9 medium