CVE-2013-0233
Devise does not properly perform type conversion when performing database queries
Reported by redhat · Published April 25, 2013
devise is fixed in 2.2.3, 2.1.3, 2.0.5 and 1 more (RubyGems)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| devise | RubyGems | 2.2.3, 2.1.3, 2.0.5, 1.5.4 |
| ruby-devise | Ubuntu:16.04:LTS | 3.5.6-2 |
| ruby-devise | Ubuntu:18.04:LTS | 4.4.3-1 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| n/a | n/a | * |
| RubyGems | devise | 1.4.0, 1.6, 2.1.0 |
Timeline
- Apr 25, 2013 CVE Published
- May 29, 2018 PoC Published (3 in total, the first dated here)
- Feb 4, 2022 EPSS Score (30 in total, the first dated here)
- Sep 17, 2024 CVE Updated
- Apr 10, 2026 Security Advisory (2 in total, the first dated here)
- Oct 25, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2013-0233
vulnetix vdb fixes CVE-2013-0233
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2013-0233/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_MISC
- [oss-security] 20130128 Re: CVE request for 'devise' ruby gem mailing-listx_refsource_MLIST
- x_refsource_MISC
- openSUSE-SU-2013:0374 vendor-advisoryx_refsource_SUSE
- 57577 vdb-entryx_refsource_BID
- x_refsource_CONFIRM
- x_refsource_MISC