CWE
89
Advisory Published
Advisory Published
Updated

CVE-2014-0080: SQL Injection

First published: Thu Feb 20 2014(Updated: )

SQL injection vulnerability in `activerecord/lib/active_record/connection_adapters/postgresql/cast.rb` in Active Record in Ruby on Rails 4.0.x before 4.0.3, and 4.1.0.beta1, when PostgreSQL is used, allows remote attackers to execute "add data" SQL commands via vectors involving `\` (backslash) characters that are not properly handled in operations on array columns.

Credit: secalert@redhat.com

Affected SoftwareAffected VersionHow to fix
rubygems/activerecord=4.1.0.beta1
4.1.0.beta2
rubygems/activerecord>=4.0.0<4.0.3
4.0.3
Ruby on Rails=4.0.0
Ruby on Rails=4.0.0-beta
Ruby on Rails=4.0.0-rc1
Ruby on Rails=4.0.0-rc2
Ruby on Rails=4.0.1
Ruby on Rails=4.0.1-rc1
Ruby on Rails=4.0.1-rc2
Ruby on Rails=4.0.1-rc3
Ruby on Rails=4.0.1-rc4
Ruby on Rails=4.0.2
Ruby on Rails=4.1.0-beta1

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-2014-0080?

    CVE-2014-0080 has a medium severity level as it allows remote attackers to perform SQL injection, potentially compromising data integrity.

  • How do I fix CVE-2014-0080?

    To fix CVE-2014-0080, upgrade to Active Record version 4.0.3 or 4.1.0.beta2 or later.

  • What versions of Ruby on Rails are affected by CVE-2014-0080?

    CVE-2014-0080 affects Ruby on Rails versions 4.0.0 to 4.0.2 and 4.1.0.beta1 when PostgreSQL is used.

  • Can CVE-2014-0080 be exploited remotely?

    Yes, CVE-2014-0080 can be exploited remotely due to the SQL injection vulnerability in specified versions of Active Record.

  • What components of Ruby on Rails does CVE-2014-0080 impact?

    CVE-2014-0080 impacts the Active Record component of Ruby on Rails, specifically in PostgreSQL adapter files.

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