7.5
CWE
89
Advisory Published
Advisory Published
Updated

CVE-2008-4094: SQL Injection

First published: Tue Sep 30 2008(Updated: )

Multiple SQL injection vulnerabilities in Ruby on Rails before 2.1.1 allow remote attackers to execute arbitrary SQL commands via the (1) :limit and (2) :offset parameters, related to ActiveRecord, ActiveSupport, ActiveResource, ActionPack, and ActionMailer.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
rubygems/activerecord<2.1.1
2.1.1
Ruby on Rails=0.8.0
Ruby on Rails=0.5.7
Ruby on Rails=0.7.0
Ruby on Rails=1.2.4
Ruby on Rails=0.8.5
Ruby on Rails=0.6.0
Ruby on Rails=0.5.6
Ruby on Rails=0.9.0
Ruby on Rails=0.5.5
Ruby on Rails=0.5.0
Ruby on Rails=0.6.5
Ruby on Rails<=2.1.0
Ruby on Rails=0.9.1
Ruby on Rails=0.9.2
Ruby on Rails=0.9.3
Ruby on Rails=0.9.4
Ruby on Rails=0.9.4.1
Ruby on Rails=0.10.0
Ruby on Rails=0.10.1
Ruby on Rails=0.11.0
Ruby on Rails=0.11.1
Ruby on Rails=0.12.0
Ruby on Rails=0.12.1
Ruby on Rails=0.13.0
Ruby on Rails=0.13.1
Ruby on Rails=0.14.1
Ruby on Rails=0.14.2
Ruby on Rails=0.14.3
Ruby on Rails=0.14.4
Ruby on Rails=1.0.0
Ruby on Rails=1.1.1
Ruby on Rails=1.1.2
Ruby on Rails=1.1.3
Ruby on Rails=1.1.4
Ruby on Rails=1.1.5
Ruby on Rails=1.1.6
Ruby on Rails=1.2.1
Ruby on Rails=1.2.2
Ruby on Rails=1.2.3
Ruby on Rails=1.2.5
Ruby on Rails=1.2.6
Ruby on Rails=1.9.5
Ruby on Rails=1.1.0
Ruby on Rails=1.2.0
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.0.0-rc1
Ruby on Rails=2.0.0-rc2
Ruby on Rails=2.0.0

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.

Reference Links

Frequently Asked Questions

  • What is the severity of CVE-2008-4094?

    CVE-2008-4094 is considered high severity due to the potential for remote SQL injection attacks.

  • How do I fix CVE-2008-4094?

    To mitigate CVE-2008-4094, upgrade to Ruby on Rails version 2.1.1 or later.

  • What software versions are affected by CVE-2008-4094?

    CVE-2008-4094 affects Ruby on Rails versions prior to 2.1.1, including versions 0.9.1 through 2.0.0.

  • What components are impacted by CVE-2008-4094?

    CVE-2008-4094 impacts ActiveRecord, ActiveSupport, ActiveResource, ActionPack, and ActionMailer components of Ruby on Rails.

  • Can CVE-2008-4094 lead to data loss?

    Yes, CVE-2008-4094 can allow remote attackers to execute arbitrary SQL commands, potentially leading to data loss.

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