GitHub Advisoryadvisory · RubyGems
GHSA-jxhw-mg8m-2pj8 Devise does not properly perform type conversion when performing database queries
MEDIUM
Official page ↗
- Aliases
- CVE-2013-0233
- Ecosystem
- RubyGems
- Packages
- devise
- Severity
- Moderate
- Weaknesses
- CWE-704
- Reviewed
- 2020-06-16
Affected packages
• RubyGems devise: >= 2.2.0, < 2.2.3 → fixed in 2.2.3
• RubyGems devise: >= 2.1.0, < 2.1.3 → fixed in 2.1.3
• RubyGems devise: >= 2.0.0, < 2.0.5 → fixed in 2.0.5
• RubyGems devise: >= 1.5.0, < 1.5.4 → fixed in 1.5.4
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.
Related
Alias · CVE (1)
- 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… vulnerability
Weakness · CWE (1)
- CWE-704 Incorrect Type Conversion or Cast weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2013-0233 advisory
- https://github.com/Snorby/snorby/issues/261 web
- https://web.archive.org/web/20140726005251/http://www.phenoelit.org/blog/archives/2013/02/05/mysql_madness_and_rails/index.html web
- https://web.archive.org/web/20200229103406/http://www.securityfocus.com/bid/57577 web
- http://blog.plataformatec.com.br/2013/01/security-announcement-devise-v2-2-3-v2-1-3-v2-0-5-and-v1-5-3-released web
- http://lists.opensuse.org/opensuse-updates/2013-03/msg00000.html web
- http://www.metasploit.com/modules/auxiliary/admin/http/rails_devise_pass_reset web
- http://www.openwall.com/lists/oss-security/2013/01/29/3 web