CVE-2012-6496

rubygem-activerecord: find_by_* SQL Injection

Published Jan 4, 2013 CVSS 2.0 · 7.5 High EPSS 4.6% KEV · Not listed
Description
SQL injection vulnerability in the Active Record component in Ruby on Rails before 3.0.18, 3.1.x before 3.1.9, and 3.2.x before 3.2.10 allows remote attackers to execute arbitrary SQL commands via a crafted request that leverages incorrect behavior of dynamic finders in applications that can use unexpected data types in certain find_by_ method calls.

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-0238 SQL injection vulnerability in the Active Record component in Ruby on Rails before 3.0.18, 3.1.x before 3.1.9, and 3.2.x before 3.2.10 allows remote attackers to execute arbitrary SQL commands via a crafted request that leverages incorrect behavior of dynamic finders in applications that can use unexpected data types in certain find_by_ method calls.
Github GHSA Github GHSA GHSA-gh2w-j7cx-2664 Active Record contains SQL Injection
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 6, 2024, 9:28 PM
Reserved
Jan 3, 2013, 12:00 AM
Status
Modified
Published
Jan 4, 2013, 4:46 AM
Modified
Jun 16, 2026, 11:48 PM
Severity
Moderate
Public date
Dec 21, 2012, 12:00 AM