CVE-2014-0080

Related Vulnerabilities: CVE-2014-0080  

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.

The MITRE CVE dictionary describes this issue as:

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.

Find out more about CVE-2014-0080 from the MITRE CVE dictionary dictionary and NIST NVD.

Statement

Not vulnerable. This issue did not affect the versions of rubygem-activerecord as shipped with CloudForms, OpenShift Enterprise 1 and 2, Red Hat Enterprise Linux OpenStack Platform 3 and 4, Red Hat Software Collections 1 and Subscription Asset Manager as they did not include the vulnerable code.

CVSS v2 metrics

NOTE: The following CVSS v2 metrics and score provided are preliminary and subject to review.

Base Score 4.3
Base Metrics AV:N/AC:M/Au:N/C:N/I:P/A:N
Access Vector Network
Access Complexity Medium
Authentication None
Confidentiality Impact None
Integrity Impact Partial
Availability Impact None

Find out more about Red Hat support for the Common Vulnerability Scoring System (CVSS).

Affected Packages State

Platform Package State
Red Hat Subscription Asset Manager 1 ruby193-rubygem-activerecord Not affected
Red Hat Software Collections 1 for Red Hat Enterprise Linux ruby193-rubygem-activerecord Not affected
Red Hat Software Collections 1 for Red Hat Enterprise Linux ror40-rubygem-activerecord Not affected
Red Hat Satellite 6 ruby193-rubygem-activerecord Not affected
Red Hat OpenShift Enterprise 1 ruby193-rubygem-activerecord Not affected
Red Hat Enterprise Linux OpenStack Platform 4.0 ruby193-rubygem-activerecord Not affected
Red Hat Enterprise Linux OpenStack Platform 3.0 ruby193-rubygem-activerecord Not affected

Acknowledgements

Red Hat would like to thank the Ruby on Rails Project for reporting this issue. Upstream acknowledges Godfrey Chan as the original reporter.