Red Hat Customer Portal

Skip to main content


Public Date:
827363: CVE-2012-2661 rubygem-activerecord: SQL injection when processing nested query paramaters

The MITRE CVE dictionary describes this issue as:

The Active Record component in Ruby on Rails 3.0.x before 3.0.13, 3.1.x before 3.1.5, and 3.2.x before 3.2.4 does not properly implement the passing of request data to a where method in an ActiveRecord class, which allows remote attackers to conduct certain SQL injection attacks via nested query parameters that leverage unintended recursion, a related issue to CVE-2012-2695.

Find out more about CVE-2012-2661 from the MITRE CVE dictionary dictionary and NIST NVD.

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:P/I:N/A:N
Access Vector Network
Access Complexity Medium
Authentication None
Confidentiality Impact Partial
Integrity Impact None
Availability Impact None

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

Red Hat Security Errata

Platform Errata Release Date
Red Hat OpenShift Enterprise Client Tools (rubygem-activerecord) RHSA-2013:0582 2013-02-28
Red Hat Subscription Asset Manager 1.1 (rubygem-activerecord) RHSA-2013:0154 2013-01-10
Red Hat CloudForms System Engine 1 (rubygem-activerecord) RHSA-2012:1542 2012-12-04
Red Hat CloudForms Cloud Engine 1 (rubygem-activerecord) RHSA-2012:1542 2012-12-04

Last Modified