7.5
CWE
89
Advisory Published
CVE Published
Advisory Published
Updated

CVE-2011-2930: SQL Injection

First published: Wed Aug 17 2011(Updated: )

An SQL injection vulnerability in the quote_table_name method could allow malicious users to inject arbitrary SQL into a query [1]. This is corrected in upstream 3.0.10, 2.3.13, and 3.1.0rc5 versions. Patches are available in the advisory [1] and in git [2]. [1] <a href="http://groups.google.com/group/rubyonrails-security/browse_thread/thread/6a1e473744bc389b">http://groups.google.com/group/rubyonrails-security/browse_thread/thread/6a1e473744bc389b</a> [2] <a href="https://github.com/rails/rails/commit/8a39f411dc3c806422785b1f4d5c7c9d58e4bf85">https://github.com/rails/rails/commit/8a39f411dc3c806422785b1f4d5c7c9d58e4bf85</a>

Credit: secalert@redhat.com

Affected SoftwareAffected VersionHow to fix
rubygems/activerecord>=3.0.0<3.0.10
3.0.10
rubygems/activerecord>=2.0.0<2.3.13
2.3.13
redhat/rubygem-activerecord<2.3.13
2.3.13
redhat/rubygem-activerecord<3.0.10
3.0.10
redhat/rubygem-activerecord<3.1.0
3.1.0
Ruby on Rails=2.0.0
Ruby on Rails=2.0.0-rc1
Ruby on Rails=2.0.0-rc2
Ruby on Rails=2.0.1
Ruby on Rails=2.0.2
Ruby on Rails=2.0.4
Ruby on Rails=2.1.0
Ruby on Rails=2.1.1
Ruby on Rails=2.1.2
Ruby on Rails=2.2.0
Ruby on Rails=2.2.1
Ruby on Rails=2.2.2
Ruby on Rails=2.3.2
Ruby on Rails=2.3.3
Ruby on Rails=2.3.4
Ruby on Rails=2.3.9
Ruby on Rails=2.3.10
Ruby on Rails=2.3.11
Ruby on Rails=2.3.12
Ruby on Rails=3.0.0
Ruby on Rails=3.0.0-beta
Ruby on Rails=3.0.0-beta2
Ruby on Rails=3.0.0-beta3
Ruby on Rails=3.0.0-beta4
Ruby on Rails=3.0.0-rc
Ruby on Rails=3.0.0-rc2
Ruby on Rails=3.0.1
Ruby on Rails=3.0.1-pre
Ruby on Rails=3.0.2
Ruby on Rails=3.0.2-pre
Ruby on Rails=3.0.3
Ruby on Rails=3.0.4-rc1
Ruby on Rails=3.0.5
Ruby on Rails=3.0.5-rc1
Ruby on Rails=3.0.6
Ruby on Rails=3.0.6-rc1
Ruby on Rails=3.0.6-rc2
Ruby on Rails=3.0.7
Ruby on Rails=3.0.7-rc1
Ruby on Rails=3.0.7-rc2
Ruby on Rails=3.0.8
Ruby on Rails=3.0.8-rc1
Ruby on Rails=3.0.8-rc2
Ruby on Rails=3.0.8-rc3
Ruby on Rails=3.0.8-rc4
Ruby on Rails=3.0.9
Ruby on Rails=3.0.9-rc1
Ruby on Rails=3.0.9-rc2
Ruby on Rails=3.0.9-rc3
Ruby on Rails=3.0.9-rc4
Ruby on Rails=3.0.9-rc5
Ruby on Rails=3.0.10-rc1
Ruby on Rails=3.1.0
Ruby on Rails=3.1.0-beta1
Ruby on Rails=3.1.0-rc1
Ruby on Rails=3.1.0-rc2
Ruby on Rails=3.1.0-rc3
Ruby on Rails=3.1.0-rc4
Ruby on Rails=3.0.4

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2011-2930?

    CVE-2011-2930 has a high severity rating due to its ability to allow SQL injection attacks.

  • How do I fix CVE-2011-2930?

    To fix CVE-2011-2930, upgrade to ActiveRecord version 3.0.10, 2.3.13, or 3.1.0rc5 or apply available patches.

  • Which software is affected by CVE-2011-2930?

    CVE-2011-2930 affects specific versions of ActiveRecord including 3.0.0 through 3.0.9 and 2.0.0 through 2.3.12.

  • Is there a workaround for CVE-2011-2930?

    There is no documented workaround for CVE-2011-2930; the only resolution is to update to the patched versions.

  • What kind of attacks can exploit CVE-2011-2930?

    CVE-2011-2930 can be exploited via SQL injection attacks, enabling attackers to execute arbitrary SQL code.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203