SQL Injection Affecting sails-mysql package, versions <0.10.8


Severity

Recommended
0.0
high
0
10

CVSS assessment made 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 Learn

Learn about SQL Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-SAILSMYSQL-174916
  • published5 Jun 2019
  • disclosed11 Sept 2014
  • creditJamy Timmermans

Introduced: 11 Sep 2014

CVE NOT AVAILABLE CWE-89  (opens 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

CVSS Scores

version 3.1