Home / Plataformatec / Devise / CVE-2013-0233
CVE-2013-0233: is it exploited, and which versions of Plataformatec Devise are affected and fixed?
CVE-2013-0233 is an incorrect type conversion vulnerability in Plataformatec Devise. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 08:38 UTC). Affected: devise from 2.2.0 before 2.2.3, devise from 2.1.0 before 2.1.3, devise from 2.0.0 before 2.0.5 and 1 more (GitHub advisory GHSA-jxhw-mg8m-2pj8). Fixed in 2.2.3, 2.1.3, 2.0.5 and 1.5.4 (GitHub advisory GHSA-jxhw-mg8m-2pj8). Severity: Medium (6.8, CVSS 2.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 08:38 UTC, CVE record November 19, 2026, 07:20 UTC and NVD November 19, 2026, 08:48 UTC.
What is CVE-2013-0233?
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.
From the CVE record by redhat, last updated September 17, 2024, 02:41 UTC.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| RubyGems | devise | >= 2.2.0, < 2.2.3 | 2.2.3 | GHSA-jxhw-mg8m-2pj8 |
| RubyGems | devise | >= 2.1.0, < 2.1.3 | 2.1.3 | GHSA-jxhw-mg8m-2pj8 |
| RubyGems | devise | >= 2.0.0, < 2.0.5 | 2.0.5 | GHSA-jxhw-mg8m-2pj8 |
| RubyGems | devise | >= 1.5.0, < 1.5.4 | 1.5.4 | GHSA-jxhw-mg8m-2pj8 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated January 23, 2023. Summary: Devise does not properly perform type conversion when performing database queries.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| plataformatec | devise | 1.5.0 | application |
| plataformatec | devise | 1.5.1 | application |
| plataformatec | devise | 1.5.2 | application |
| plataformatec | devise | 1.5.3 | application |
| plataformatec | devise | 2.0.0 | application |
| plataformatec | devise | 2.0.1 | application |
| plataformatec | devise | 2.0.2 | application |
| plataformatec | devise | 2.0.3 | application |
| plataformatec | devise | 2.0.4 | application |
| plataformatec | devise | 2.1.0 | application |
| plataformatec | devise | 2.1.1 | application |
| plataformatec | devise | 2.1.2 | application |
| plataformatec | devise | 2.2.0 | application |
| plataformatec | devise | 2.2.1 | application |
| plataformatec | devise | 2.2.2 | application |
| opensuse | opensuse | 12.2 | operating system |
NVD analysis (status Modified), last modified June 16, 2026, 23:49 UTC.
How severe is CVE-2013-0233?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.8 | CVSS 2.0 | AV:N/AC:M/Au:N/C:P/I:P/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2013-0233 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 14.6% probability of exploitation activity in the next 30 days, percentile 96.7 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
Where are the vendor advisories and references?
- http://www.metasploit.com/modules/auxiliary/admin/http/rails_devise_pass_reset x_refsource_MISC
- [oss-security] 20130128 Re: CVE request for 'devise' ruby gem mailing-list, x_refsource_MLIST
- http://www.phenoelit.org/blog/archives/2013/02/05/mysql_madness_and_rails/index.html x_refsource_MISC
- openSUSE-SU-2013:0374 vendor-advisory, x_refsource_SUSE
- 57577 vdb-entry, x_refsource_BID
- http://blog.plataformatec.com.br/2013/01/security-announcement-devise-v2-2-3-v2-1-3-v2-0-5-and-v1-5-3-released/ x_refsource_CONFIRM
- https://github.com/Snorby/snorby/issues/261 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- December 6, 2012
- Published
- April 25, 2013, 23:00 UTC
- CVE record updated
- September 17, 2024, 02:41 UTC by redhat
- NVD
- Modified, last modified June 16, 2026, 23:49 UTC
- Last checked
- CVE list November 19, 2026, 07:20 UTC; NVD November 19, 2026, 08:48 UTC; KEV December 3, 2026, 08:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Devise?
- Sep 8, 2019CVE-2019-16109 Plataformatec Devise: improper access control
Questions about CVE-2013-0233
Is CVE-2013-0233 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 08:38 UTC. FIRST's EPSS gives it a 14.6% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Plataformatec Devise are affected by CVE-2013-0233?
devise from 2.2.0 before 2.2.3, devise from 2.1.0 before 2.1.3, devise from 2.0.0 before 2.0.5 and devise from 1.5.0 before 1.5.4, per the GitHub advisory GHSA-jxhw-mg8m-2pj8. The tables above give every range the sources list.
Which version fixes CVE-2013-0233?
2.2.3, 2.1.3, 2.0.5 and 1.5.4, per the GitHub advisory GHSA-jxhw-mg8m-2pj8. Check the vendor's advisory before you rely on it.
How severe is CVE-2013-0233?
Medium (6.8, CVSS 2.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2013-0233?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.