SQL Injection Affecting mysql-binuuid-rails package, versions <1.1.1


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
1.79% (78th 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-RUBY-MYSQLBINUUIDRAILS-72549
  • published31 Oct 2018
  • disclosed19 Oct 2018
  • creditStan Pitucha, Geoff Evason, Emmanuel Joubaud

Introduced: 19 Oct 2018

CVE-2018-18476  (opens in a new tab)
CWE-89  (opens in a new tab)

How to fix?

Upgrade mysql-binuuid-rails to version 1.1.1 or higher.

Overview

mysql-binuuid-rails is a Store UUIDs in binary MySQL database columns.

Affected versions of this package are vulnerable to SQL Injection. It used a data type that is derived from the base Binary type, except, it did not convert the value to hex. Instead, it assumed the string value provided is a valid hex string without conducting any checks on it.

CVSS Base Scores

version 3.1