GitHub Advisoryadvisory · RubyGems
GHSA-h6w6-xmqv-7q78 activerecord vulnerable to SQL Injection
HIGH
Official page ↗
- Aliases
- CVE-2011-2930
- Ecosystem
- RubyGems
- Packages
- activerecord
- Severity
- High
- Weaknesses
- CWE-89
- Reviewed
- 2020-06-16
Affected packages
• RubyGems activerecord: >= 2.0.0, < 2.3.13 → fixed in 2.3.13
• RubyGems activerecord: >= 3.0.0.beta, < 3.0.10 → fixed in 3.0.10
• RubyGems activerecord: >= 3.1.0.beta1, < 3.1.0.rc5 → fixed in 3.1.0.rc5
Description
Multiple SQL injection vulnerabilities in the `quote_table_name` method in the ActiveRecord adapters in `activerecord/lib/active_record/connection_adapters/` in Ruby on Rails before 2.3.13, 3.0.x before 3.0.10, and 3.1.x before 3.1.0.rc5 allow remote attackers to execute arbitrary SQL commands via a crafted column name.
Related
Alias · CVE (1)
- CVE-2011-2930 Multiple SQL injection vulnerabilities in the quote_table_name method in the ActiveRecord adapters in… vulnerability
Weakness · CWE (1)
- CWE-89 Improper Neutralization of Special Elements used in an SQL Command weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2011-2930 advisory
- https://github.com/rails/rails/commit/8a39f411dc3c806422785b1f4d5c7c9d58e4bf85 web
- https://bugzilla.redhat.com/show_bug.cgi?id=731438 web
- https://github.com/rails/rails package
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/activerecord/CVE-2011-2930.yml web
- http://groups.google.com/group/rubyonrails-security/msg/b1a85d36b0f9dd30?dmode=source&output=gplain web
- http://lists.fedoraproject.org/pipermail/package-announce/2011-September/065212.html web
- http://weblog.rubyonrails.org/2011/8/16/ann-rails-3-1-0-rc6 web
- http://www.debian.org/security/2011/dsa-2301 web
- http://www.openwall.com/lists/oss-security/2011/08/17/1 web
- http://www.openwall.com/lists/oss-security/2011/08/19/11 web
- http://www.openwall.com/lists/oss-security/2011/08/20/1 web
- http://www.openwall.com/lists/oss-security/2011/08/22/13 web
- http://www.openwall.com/lists/oss-security/2011/08/22/14 web
- http://www.openwall.com/lists/oss-security/2011/08/22/5 web