CVE-2014-0080: SQL Injection
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
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
rubygems/activerecordto a version that resolves this vulnerability.Fixed in 4.1.0.beta2 - Upgrade
Upgrade
rubygems/activerecordto a version that resolves this vulnerability.Fixed in 4.0.3
Event History
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.