CVE-2013-0233
Devise does not properly perform type conversion when performing database queries
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
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 Medium
AV: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
| Package | Affected | Fixed |
|---|---|---|
deviseRubyGems |
2.2.0 up to 2.2.3 | 2.2.3 |
deviseRubyGems |
2.1.0 up to 2.1.3 | 2.1.3 |
deviseRubyGems |
2.0.0 up to 2.0.5 | 2.0.5 |
deviseRubyGems |
1.5.0 up to 1.5.4 | 1.5.4 |
ruby-deviseDebian:12 |
before 3.4.1-1 | 3.4.1-1 |
deviseRubyGems |
2.2.0 up to 2.2.3, plus listed versions 2.2.12.2.2 |
2.2.3 |
deviseRubyGems |
2.1.0 up to 2.1.3, plus listed versions 2.1.2 |
2.1.3 |
deviseRubyGems |
2.0.0 up to 2.0.5, plus listed versions 2.0.12.0.22.0.4 |
2.0.5 |
deviseRubyGems |
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.
| Source | Link | Date |
|---|---|---|
| Metasploit | Ruby on Rails Devise Authentication Password Reset | 2013-01-28 |
History
| When | Changed | Sources |
|---|---|---|
| 2026-11-03 | affected | |
| 2026-11-03 | aliases | EUVD |
| 2026-11-02 | created | CVE List, GitHub Advisories, Metasploit, NVD, OSV |
References
metasploit.com/modules/auxiliary/admin/http/rails_devise_pass_reset
openwall.com/lists/oss-security/2013/01/29/3
phenoelit.org/blog/archives/2013/02/05/mysql_madness_and_rails/index.html
lists.opensuse.org/opensuse-updates/2013-03/msg00000.html
securityfocus.com/bid/57577
blog.plataformatec.com.br/2013/01/security-announcement-devise-v2-2-3-v2-1-3-v2-0-5-and-v1-5-3-released
Show 8 moreShow less
github.com/Snorby/snorby/issues/261
nvd.nist.gov/vuln/detail/CVE-2013-0233
web.archive.org/web/20140726005251/http://www.phenoelit.org/blog/archives/2013/02/05/mysql_madness_and_rails/index.html
web.archive.org/web/20200229103406/http://www.securityfocus.com/bid/57577
github.com/advisories/GHSA-jxhw-mg8m-2pj8
security-tracker.debian.org/tracker/CVE-2013-0233
ubuntu.com/security/CVE-2013-0233
cve.org/CVERecord?id=CVE-2013-0233