SQL Injection Affecting node-mysql package, versions <2.0.0~alpha8-1


Severity

Recommended
low

Based on Debian security rating.

Threat Intelligence

EPSS
0.49% (76th 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 IDSNYK-DEBIAN11-NODEMYSQL-526125
  • published29 May 2018
  • disclosed29 May 2018

Introduced: 29 May 2018

CVE-2015-9244  (opens in a new tab)
CWE-89  (opens in a new tab)

How to fix?

Upgrade Debian:11 node-mysql to version 2.0.0~alpha8-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream node-mysql package and not the node-mysql package as distributed by Debian. See How to fix? for Debian:11 relevant fixed versions and status.

Keys of objects in mysql node module v2.0.0-alpha7 and earlier are not escaped with mysql.escape() which could lead to SQL Injection.

CVSS Scores

version 3.1