CVE-2013-0233: Incorrect Type Cast

Published Apr 25, 2013
·
Updated

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 Software

21 affected componentsFixes available
rubygems/devise>=1.5.0<1.5.4
1.5.4
rubygems/devise>=2.0.0<2.0.5
2.0.5
rubygems/devise>=2.1.0<2.1.3
2.1.3
rubygems/devise>=2.2.0<2.2.3
2.2.3
plataformatec Devise=1.5.0
plataformatec Devise=1.5.1
plataformatec Devise=1.5.2
plataformatec Devise=1.5.3
plataformatec Devise=2.0.0
plataformatec Devise=2.0.1
plataformatec Devise=2.0.2
plataformatec Devise=2.0.3
plataformatec Devise=2.0.4
plataformatec Devise=2.1.0
plataformatec Devise=2.1.1
plataformatec Devise=2.1.2
plataformatec Devise=2.2.0
plataformatec Devise=2.2.1
plataformatec Devise=2.2.2
ruby-lang Ruby
openSUSE openSUSE=12.2

Event History

Apr 25, 2013
CVE Published
via MITRE·11:00 PM
Data Sourced
via MITRE·11:00 PM
Description
Oct 24, 2017
Advisory Published
06:33 PM

Frequently Asked Questions

1

What is the severity of CVE-2013-0233?

CVE-2013-0233 is considered a moderate severity vulnerability due to its potential to cause incorrect query results and bypass security checks.

2

How do I fix CVE-2013-0233?

To fix CVE-2013-0233, update the Devise gem to version 1.5.4, 2.0.5, 2.1.3, or 2.2.3.

3

What systems are affected by CVE-2013-0233?

CVE-2013-0233 affects Devise versions prior to 2.2.3, 2.1.3, 2.0.5, and 1.5.4, particularly when using certain databases.

4

Is my installation vulnerable if I use Devise version 2.2.3 or later?

If you are using Devise version 2.2.3 or later, your installation is not vulnerable to CVE-2013-0233.

5

What can attackers exploit in CVE-2013-0233?

Attackers can exploit CVE-2013-0233 to manipulate database queries, causing incorrect results and potentially bypassing authentication checks.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203