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

Threat Intelligence

EPSS
0.26% (67th 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 IDnpm:mysql:20151228
  • published5 Jan 2016
  • disclosed28 Dec 2015
  • creditSébastian Dejonghe

Introduced: 28 Dec 2015

CVE-2015-9244  (opens in a new tab)
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