Devise does not properly perform type conversion when performing database queries (GHSA-jxhw-mg8m-2pj8)
Published: 2017-10-24T18:33:37Z
Aliases: CVE-2013-0233
Severity: MODERATE · CWE: CWE-704

Devise gem 2.2.x before 2.2.3, 2.1.x before 2.1.3, 2.0.x before 2.0.5, and 1.5.x before 1.5.4 for Ruby, when using certain databases, does not properly perform type conversion when performing database queries, which might allow remote attackers to cause incorrect results to be returned and bypass security checks via unknown vectors, as demonstrated by resetting passwords of arbitrary accounts.

Affected packages:
package: ecosystem: RubyGems
name: devise
ranges: type: ECOSYSTEM
events: introduced: 2.2.0
fixed: 2.2.3
package: ecosystem: RubyGems
name: devise
ranges: type: ECOSYSTEM
events: introduced: 2.1.0
fixed: 2.1.3
package: ecosystem: RubyGems
name: devise
ranges: type: ECOSYSTEM
events: introduced: 2.0.0
fixed: 2.0.5
package: ecosystem: RubyGems
name: devise
ranges: type: ECOSYSTEM
events: introduced: 1.5.0
fixed: 1.5.4