Skip to content

Devise does not properly perform type conversion when performing database queries

Moderate severity GitHub Reviewed Published Oct 24, 2017 to the GitHub Advisory Database • Updated Sep 5, 2023

Package

bundler devise (RubyGems)

Affected versions

>= 2.2.0, < 2.2.3
>= 2.1.0, < 2.1.3
>= 2.0.0, < 2.0.5
>= 1.5.0, < 1.5.4

Patched versions

2.2.3
2.1.3
2.0.5
1.5.4

Description

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.

References

Published to the GitHub Advisory Database Oct 24, 2017
Reviewed Jun 16, 2020
Last updated Sep 5, 2023

Severity

Moderate

EPSS score

9.803%
(95th percentile)

Weaknesses

CVE ID

CVE-2013-0233

GHSA ID

GHSA-jxhw-mg8m-2pj8

Source code

No known source code
Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.