SQL Injection Affecting sails-mysql package, versions <0.10.8


0.0
high

Snyk CVSS

    Attack Complexity Low
    Confidentiality High

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-SAILSMYSQL-174916
  • published 5 Jun 2019
  • disclosed 11 Sep 2014
  • credit Jamy Timmermans

Introduced: 11 Sep 2014

CVE NOT AVAILABLE CWE-89 Open this link in a new tab

How to fix?

Upgrade sails-mysql to version 0.10.8 or higher.

Overview

sails-mysql is a MySQL connection adapter for the Sails framework.

Affected versions of this package are vulnerable to SQL Injection. sort keyword allows possible query injection, for example: http://localhost:1337/user?sort=name ASC

References