SQL Injection due to unescaped object keys

Affecting mysql package, versions >=2.0.0-alpha <2.0.0-alpha8

Do your applications use this vulnerable package? Test your applications

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.

Remediation

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

References

CVSS Score

8.2
high severity
  • Attack Vector
    Network
  • Attack Complexity
    Low
  • Privileges Required
    None
  • User Interaction
    None
  • Scope
    Unchanged
  • Confidentiality
    High
  • Integrity
    Low
  • Availability
    None
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
Credit
Sébastian Dejonghe
CVE
CVE-2015-9244
CWE
CWE-89
Snyk ID
npm:mysql:20151228
Disclosed
28 Dec, 2015
Published
05 Jan, 2016