Every CVE Search/ Get API key

CVE-2013-0233

Devise does not properly perform type conversion when performing database queries

6.8 MediumFix available

CVE-2013-0233 is a medium vulnerability (CVSS 6.8) in Plataformatec Devise, published April 25, 2013. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 14.1%, the 96th percentile. Fixed in devise 2.2.3.

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.

Exploit likelihood

14.1%Down 38.6 points since Feb 4, 2022
90%50%10%1%

What each source reports

NVD Score used 6.8

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.

Record
CVE-2013-0233
CVSS 2.0
6.8 MediumAV:N/AC:M/Au:N/C:P/I:P/A:P
Weakness
CWE-399
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2013-0233
Updated
2026-11-02
EUVDEUVD-2017-0267 No score

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.

Record
EUVD-2017-0267
Updated
2026-11-03
GitHub AdvisoriesGHSA-jxhw-mg8m-2pj8 No score

Devise does not properly perform type conversion when performing database queries

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.

Record
GHSA-jxhw-mg8m-2pj8
Weakness
CWE-704
Updated
2026-11-02
OSV No score

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.

Record
CVE-2013-0233
Updated
2026-11-02
OSVDEBIAN-CVE-2013-0233 No score

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.

Record
DEBIAN-CVE-2013-0233
Updated
2026-11-02
OSVGHSA-jxhw-mg8m-2pj8 No score

Devise does not properly perform type conversion when performing database queries

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.

Record
GHSA-jxhw-mg8m-2pj8
Weakness
CWE-704
Updated
2026-11-02
OSVUBUNTU-CVE-2013-0233 No score

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.

Record
UBUNTU-CVE-2013-0233
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
devise
RubyGems
2.2.0 up to 2.2.3
2.2.3
devise
RubyGems
2.1.0 up to 2.1.3
2.1.3
devise
RubyGems
2.0.0 up to 2.0.5
2.0.5
devise
RubyGems
1.5.0 up to 1.5.4
1.5.4
ruby-devise
Debian:12
before 3.4.1-1
3.4.1-1
devise
RubyGems
2.2.0 up to 2.2.3, plus listed versions
2.2.12.2.2
2.2.3
devise
RubyGems
2.1.0 up to 2.1.3, plus listed versions
2.1.2
2.1.3
devise
RubyGems
2.0.0 up to 2.0.5, plus listed versions
2.0.12.0.22.0.4
2.0.5
devise
RubyGems
1.5.0 up to 1.5.4, plus listed versions
1.5.11.5.21.5.3
1.5.4

Public exploits

Links only. Every CVE stores no exploit code.

Public exploits
SourceLinkDate
MetasploitRuby on Rails Devise Authentication Password Reset2013-01-28

History

History
WhenChangedSources
2026-11-03affected
2026-11-03aliasesEUVD
2026-11-02createdCVE List, GitHub Advisories, Metasploit, NVD, OSV

References

Show 8 moreShow less
MoveEnter Open