CVE-2013-0233
Description
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.
Severity
not scored
CVSS v3
not scored
Exploit chance (EPSS)
14.619%
chance of exploitation in the next 30 days
higher than 96.7% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 2
Metasploit modules: 1
Nuclei templates: 0
Weakness
Timeline
- 2013-04-25Published by the CNA23:00 UTC
- 2017-10-24GitHub advisory published (GHSA-jxhw-mg8m-2pj8)1643 days after publication
Exploit and advisory records
GitHub advisory GHSA-jxhw-mg8m-2pj8, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| RubyGems devise | from 1.5.0 before 1.5.4 | 1.5.4 |
| RubyGems devise | from 2.0.0 before 2.0.5 | 2.0.5 |
| RubyGems devise | from 2.1.0 before 2.1.3 | 2.1.3 |
| RubyGems devise | from 2.2.0 before 2.2.3 | 2.2.3 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| plataformatec devise | 1.5.0no fix listed1.5.1no fix listed1.5.2no fix listed1.5.3no fix listed2.0.0no fix listed(+10 more) | not listednot listednot listednot listednot listed |
| opensuse opensuse | 12.2no fix listed | not listed |
References
- http://blog.plataformatec.com.br/2013/01/security-announcement-devise-v2-2-3-v2-1-3-v2-0-5-and-v1-5-3-released/
- http://lists.opensuse.org/opensuse-updates/2013-03/msg00000.html
- http://www.metasploit.com/modules/auxiliary/admin/http/rails_devise_pass_reset
- http://www.phenoelit.org/blog/archives/2013/02/05/mysql_madness_and_rails/index.html
- http://www.openwall.com/lists/oss-security/2013/01/29/3
- http://www.securityfocus.com/bid/57577
- https://github.com/Snorby/snorby/issues/261
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2013-0233'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2013-0233'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2013-0233'curl 'https://api.contrastcyber.com/cve_products/CVE-2013-0233'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).