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
Published Apr 25, 2013
6.8
MEDIUMCVSS 2.0
EPSS 14.13%
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.
Affected products
No data.
Configuration 1
- 1.5.0
- 1.5.1
- 1.5.2
- 1.5.3
- 2.0.0
- 2.0.1
- 2.0.2
- 2.0.3
- 2.0.4
- 2.1.0
- 2.1.1
- 2.1.2
- 2.2.0
- 2.2.1
- 2.2.2
No data.
No Red Hat product state for this CVE.
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
No CVSS v3.0 score for this CVE.
AV:N/AC:M/Au:N/C:P/I:P/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (24 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 14.13% (0.14126) | 96.47th | v5 (v2026.06.15) |
| Jun 15, 2026 | 14.13% (0.14126) | 96.09th | v5 (v2026.06.15) |
| Dec 28, 2025 | 68.82% (0.68821) | 98.56th | v4 (v2025.03.14) |
| Dec 27, 2025 | 67.77% (0.67768) | 98.53th | v4 (v2025.03.14) |
| Oct 28, 2025 | 68.82% (0.68821) | 98.55th | v4 (v2025.03.14) |
| Oct 27, 2025 | 67.77% (0.67768) | 98.52th | v4 (v2025.03.14) |
| Oct 1, 2025 | 68.82% (0.68821) | 98.58th | v4 (v2025.03.14) |
| Jun 15, 2025 | 67.77% (0.67768) | 98.46th | v4 (v2025.03.14) |
| Mar 30, 2025 | 68.79% (0.68788) | 98.51th | v4 (v2025.03.14) |
| Mar 29, 2025 | 74.62% (0.74618) | 98.51th | v4 (v2025.03.14) |
| Mar 17, 2025 | 68.79% (0.68788) | 98.52th | v4 (v2025.03.14) |
| Dec 17, 2024 | 73.79% (0.73790) | 98.31th | v3 (v2023.03.01) |
| Sep 17, 2024 | 9.80% (0.09803) | 94.95th | v3 (v2023.03.01) |
| May 24, 2024 | 13.90% (0.13896) | 95.65th | v3 (v2023.03.01) |
| May 10, 2024 | 11.70% (0.11699) | 95.25th | v3 (v2023.03.01) |
| Apr 25, 2024 | 10.02% (0.10015) | 94.80th | v3 (v2023.03.01) |
| Mar 15, 2024 | 9.16% (0.09155) | 94.49th | v3 (v2023.03.01) |
| Feb 8, 2024 | 11.81% (0.11808) | 95.13th | v3 (v2023.03.01) |
| Jan 11, 2024 | 10.49% (0.10487) | 94.48th | v3 (v2023.03.01) |
| Sep 18, 2023 | 9.03% (0.09030) | 93.89th | v3 (v2023.03.01) |
| Apr 24, 2023 | 8.61% (0.08614) | 93.49th | v3 (v2023.03.01) |
| Mar 7, 2023 | 9.47% (0.09472) | 93.73th | v3 (v2023.03.01) |
| Mar 6, 2023 | 52.75% (0.52751) | 98.77th | v2 (v2022.01.01) |
| Feb 4, 2022 | 52.75% (0.52751) | 98.38th | v2 (v2022.01.01) |
References (11)
- 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_CONFIRMVendor Advisory
- http://lists.opensuse.org/opensuse-updates/2013-03/msg00000.html vendor-advisoryx_refsource_SUSE
- http://www.metasploit.com/modules/auxiliary/admin/http/rails_devise_pass_reset x_refsource_MISCExploit
- http://www.openwall.com/lists/oss-security/2013/01/29/3 mailing-listx_refsource_MLIST
- http://www.phenoelit.org/blog/archives/2013/02/05/mysql_madness_and_rails/index.html x_refsource_MISCExploit
- http://www.securityfocus.com/bid/57577 vdb-entryx_refsource_BID
- https://github.com/Snorby/snorby/issues/261 x_refsource_MISC
- https://github.com/advisories/GHSA-jxhw-mg8m-2pj8 Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2013-0233
- https://web.archive.org/web/20140726005251/http://www.phenoelit.org/blog/archives/2013/02/05/mysql_madness_and_rails/index.html
- https://web.archive.org/web/20200229103406/http://www.securityfocus.com/bid/57577
| Link | Providers | Tags |
|---|---|---|
| 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_CONFIRMVendor Advisory | |
| http://lists.opensuse.org/opensuse-updates/2013-03/msg00000.html | vendor-advisoryx_refsource_SUSE | |
| http://www.metasploit.com/modules/auxiliary/admin/http/rails_devise_pass_reset | x_refsource_MISCExploit | |
| http://www.openwall.com/lists/oss-security/2013/01/29/3 | mailing-listx_refsource_MLIST | |
| http://www.phenoelit.org/blog/archives/2013/02/05/mysql_madness_and_rails/index.html | x_refsource_MISCExploit | |
| http://www.securityfocus.com/bid/57577 | vdb-entryx_refsource_BID | |
| https://github.com/Snorby/snorby/issues/261 | x_refsource_MISC | |
| https://github.com/advisories/GHSA-jxhw-mg8m-2pj8 | Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2013-0233 | ||
| https://web.archive.org/web/20140726005251/http://www.phenoelit.org/blog/archives/2013/02/05/mysql_madness_and_rails/index.html | ||
| https://web.archive.org/web/20200229103406/http://www.securityfocus.com/bid/57577 |
Change history (0)
No recorded changes yet.