SQL Injection

Affecting mysql-binuuid-rails gem, versions <1.1.1

high severity

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.

Remediation

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

References

Do your applications use this vulnerable package?

Credit
Stan Pitucha, Geoff Evason, Emmanuel Joubaud
CVE
CVE-2018-18476
CWE
CWE-89
Snyk ID
SNYK-RUBY-MYSQLBINUUIDRAILS-72549
Disclosed
19 Oct, 2018
Published
31 Oct, 2018