CVE-2014-0080: SQL Injection

Published Feb 20, 2014
·
Updated

SQL injection vulnerability in activerecord/lib/activerecord/connectionadapters/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.

Other sources

SQL injection vulnerability in activerecord/lib/activerecord/connectionadapters/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.

Affected Software

13 affected componentsFixes available
rubygems/activerecord=4.1.0.beta1
4.1.0.beta2
rubygems/activerecord>=4.0.0<4.0.3
4.0.3
rubyonrails Rails=4.0.0
rubyonrails Rails=4.0.0-beta
rubyonrails Rails=4.0.0-rc1
rubyonrails Rails=4.0.0-rc2
rubyonrails Rails=4.0.1
rubyonrails Rails=4.0.1-rc1
rubyonrails Rails=4.0.1-rc2
rubyonrails Rails=4.0.1-rc3
rubyonrails Rails=4.0.1-rc4
rubyonrails Rails=4.0.2
rubyonrails Rails=4.1.0-beta1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade rubygems/activerecord to a version that resolves this vulnerability.

    Fixed in 4.1.0.beta2
  2. Upgrade

    Upgrade rubygems/activerecord to a version that resolves this vulnerability.

    Fixed in 4.0.3

Event History

Feb 20, 2014
CVE Published
via MITRE·11:00 AM
Data Sourced
via MITRE·11:00 AM
Description
Data Sourced
via NVD·03:27 PM
DescriptionSeverityWeaknessAffected Software
Oct 24, 2017
Advisory Published
06:33 PM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

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.

2

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.

3

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.

4

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.

5

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.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203