CVE-2012-2695

rubygem-activerecord: SQL injection when processing nested query paramaters (a different flaw than CVE-2012-2661)

Published Jun 22, 2012 CVSS 2.0 · 7.5 High EPSS 2.9% KEV · Not listed
Description
The Active Record component in Ruby on Rails before 3.0.14, 3.1.x before 3.1.6, and 3.2.x before 3.2.6 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 improper handling of nested hashes, a related issue to CVE-2012-2661.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2017-0183 The Active Record component in Ruby on Rails before 3.0.14, 3.1.x before 3.1.6, and 3.2.x before 3.2.6 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 improper handling of nested hashes, a related issue to CVE-2012-2661.
Github GHSA Github GHSA GHSA-76wq-xw4h-f8wj activerecord vulnerable to SQL Injection
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Aug 6, 2024, 7:42 PM
Reserved
May 14, 2012, 12:00 AM
Status
Modified
Published
Jun 22, 2012, 2:55 PM
Modified
Jun 16, 2026, 11:41 PM
Severity
Low
Public date
Jun 12, 2012, 12:00 AM