{"cve":"CVE-2011-2930","nvd":{"published":"2011-08-29T18:55:01.457","modified":"2026-06-16T23:32:16.417","status":"Modified","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.","cvss_v4":null,"cvss_v3":null,"cwes":["CWE-89"],"references":["http://groups.google.com/group/rubyonrails-security/msg/b1a85d36b0f9dd30?dmode=source&output=gplain","http://lists.fedoraproject.org/pipermail/package-announce/2011-September/065212.html","http://weblog.rubyonrails.org/2011/8/16/ann-rails-3-1-0-rc6","http://www.debian.org/security/2011/dsa-2301","http://www.openwall.com/lists/oss-security/2011/08/17/1"],"products":["rubyonrails:rails","rubyonrails:ruby_on_rails"],"source":"nvd","synced_at":"2026-10-19T19:58:50.521460154+00:00"},"epss":{"cve":"CVE-2011-2930","score":0.02319,"percentile":0.83454,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-h6w6-xmqv-7q78","url":"https://osv.dev/vulnerability/GHSA-h6w6-xmqv-7q78","summary":"activerecord vulnerable to SQL Injection","modified":"2025-11-03T14:13:18.010693Z","packages":[{"ecosystem":"RubyGems","name":"activerecord","purl":"pkg:gem/activerecord","ranges":[">=2.0.0 <2.3.13"],"fixed":["2.3.13"]},{"ecosystem":"RubyGems","name":"activerecord","purl":"pkg:gem/activerecord","ranges":[">=3.0.0.beta <3.0.10"],"fixed":["3.0.10"]},{"ecosystem":"RubyGems","name":"activerecord","purl":"pkg:gem/activerecord","ranges":[">=3.1.0.beta1 <3.1.0.rc5"],"fixed":["3.1.0.rc5"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}