CWE
704 399
Advisory Published
Advisory Published
Updated

CVE-2013-0233: Incorrect Type Cast

First published: Thu 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.

Credit: secalert@redhat.com

Affected SoftwareAffected VersionHow to fix
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
Devise=1.5.0
Devise=1.5.1
Devise=1.5.2
Devise=1.5.3
Devise=2.0.0
Devise=2.0.1
Devise=2.0.2
Devise=2.0.3
Devise=2.0.4
Devise=2.1.0
Devise=2.1.1
Devise=2.1.2
Devise=2.2.0
Devise=2.2.1
Devise=2.2.2
Ruby
SUSE Linux=12.2

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • 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.

  • 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.

  • 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.

  • 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.

  • 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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203