SQL Injection

Affecting mysql-binuuid-rails gem, versions <1.1.1

Do your applications use this vulnerable package? Test your applications

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

CVSS Score

9.8
high severity
  • Attack Vector
    Network
  • Attack Complexity
    Low
  • Privileges Required
    None
  • User Interaction
    None
  • Scope
    Unchanged
  • Confidentiality
    High
  • Integrity
    High
  • Availability
    High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
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