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
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
Published to the GitHub Advisory Database
Oct 24, 2017
Reviewed
Jun 16, 2020
Last updated
Sep 5, 2023
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