SQL Injection Affecting mysql2 package, versions >0.1.4, <0.2.12


Severity

Recommended
0.0
medium
0
10

CVSS assessment 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-RUBY-MYSQL2-20283
  • published4 Jan 2017
  • disclosed16 Nov 2015
  • creditUnknown

Introduced: 16 Nov 2015

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

Overview

mysql2 is a simple, fast Mysql library for Ruby, binding to libmysql Affected versions of this gem do not sanitize input passed into the quoted_column_names function, allowing malicious users to perform SQL Injection attacks.

CVSS Base Scores

version 3.1