All reports
High

Active Record contains SQL Injection

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
>= 3.0.0.beta, < 3.0.18
Fixed version
3.0.18
Affected versions
>= 3.1.0, < 3.1.9
Fixed version
3.1.9
Affected versions
< 2.3.15
Fixed version
2.3.15
Affected versions
>= 3.2.0, < 3.2.10
Fixed version
3.2.10

Exploitation

CVE-2012-6496

Probability of exploitation in the next 30 days: 4.58%

FIRST EPSS · 2026-11-23

Description

SQL injection vulnerability in the Active Record component in Ruby on Rails before 2.3.15, 3.0.x 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.

Links

Credits

  • levpachmanov