SQL Injection in Rubyonrails Rails
CVE-2011-2930
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.
Vulnerability class: SQL Injection
Published · last modified .
CVSS v2 metric
CVSS v2 base score 7.5 (High). Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS: 0.023 (82.8th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 83rd percentile — 82.8% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.023 · newest: 0.023 · change: 0.000
Affected products
- Rubyonrails Rails — versions 2.0.0, 2.0.1, 2.0.2
- Rubyonrails Ruby On Rails — versions 3.0.4
Weakness classification (CWE)
References
- www.openwall.com/lists/oss-security/2011/08/17/1 (mailing-list, Patch)
- github.com/rails/rails/commit/8a39f411dc3c806422785b1f4d5c7c9d58e4bf85 (Patch)
- www.openwall.com/lists/oss-security/2011/08/22/13 (mailing-list, Patch)
- lists.fedoraproject.org/pipermail/package-announce/2011-September/065212.html (vendor-advisory)
- www.openwall.com/lists/oss-security/2011/08/19/11 (mailing-list, Patch)
- www.debian.org/security/2011/dsa-2301 (vendor-advisory)
- www.openwall.com/lists/oss-security/2011/08/20/1 (mailing-list, Patch)
- groups.google.com/group/rubyonrails-security/msg/b1a85d36b0f9dd30 (mailing-list, Patch)
- www.openwall.com/lists/oss-security/2011/08/22/14 (mailing-list)
- bugzilla.redhat.com/show_bug.cgi (Patch)