SQL Injection Affecting mysql package, versions [2.0.0-alpha,2.0.0-alpha8)


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-DOTNET-MYSQL-60192
  • published27 Dec 2016
  • disclosed27 Dec 2016
  • creditSébastian Dejonghe

Introduced: 27 Dec 2016

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

How to fix?

Upgrade mysql to version >=v2.0.0-alpha8 or higher.

Overview

mysql is a node.js driver for mysql. Affected versions of this package do not properly escape column identifiers with mysql.escape() and can result in SQL injection vulnerability.

CVSS Scores

version 3.1