CVE-2013-0233Plataformatec Devise
Medium 6.8 No auth neededHigh EPSS
Follow: this CVE · Plataformatec · Plataformatec Devise We alert you by email or Slack (account required).
- Priority
- 57
- CVSS 2.0
- 6.8
- EPSS
- 14.6% probability of exploitation in 30 days · percentile 97
- Auth required
- No
- Published
- Apr 25, 2013
- Updated
- Jun 16, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-399
- Vector
AV:N/AC:M/Au:N/C:P/I:P/A:P
What happens
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.
What to do
- Apply the vendor's security update for Devise.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| RubyGems | devise |
≥ 2.2.0 < 2.2.3 |
2.2.3 |
gem "devise", ">= 2.2.3" |
| RubyGems | devise |
≥ 2.1.0 < 2.1.3 |
2.1.3 |
gem "devise", ">= 2.1.3" |
| RubyGems | devise |
≥ 2.0.0 < 2.0.5 |
2.0.5 |
gem "devise", ">= 2.0.5" |
| RubyGems | devise |
≥ 1.5.0 < 1.5.4 |
1.5.4 |
gem "devise", ">= 1.5.4" |
Per OSV / GitHub Advisories (GHSA-jxhw-mg8m-2pj8). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| plataformatec | devise | 1.5.0 |
| plataformatec | devise | 1.5.1 |
| plataformatec | devise | 1.5.2 |
| plataformatec | devise | 1.5.3 |
| plataformatec | devise | 2.0.0 |
| plataformatec | devise | 2.0.1 |
| plataformatec | devise | 2.0.2 |
| plataformatec | devise | 2.0.3 |
| plataformatec | devise | 2.0.4 |
| plataformatec | devise | 2.1.0 |
| plataformatec | devise | 2.1.1 |
| plataformatec | devise | 2.1.2 |
| plataformatec | devise | 2.2.0 |
| plataformatec | devise | 2.2.1 |
| plataformatec | devise | 2.2.2 |
| opensuse | opensuse | 12.2 |
Official sources
References
Links published by the sources. Open them with care.
- blog.plataformatec.com.br Vendor Advisory
- lists.opensuse.org
- www.metasploit.com Exploit
- www.openwall.com
- www.phenoelit.org Exploit
- www.securityfocus.com
- github.com