cve.bz

CVE-2012-6496

no score yetEPSS 4.6%

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.
EPSS
4.6% chance of exploitation in the next 30 days; higher than 91% of CVEs (scores of 2026-10-31)
CWE
CWE-89
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-gh2w-j7cx-2664RubyGemsactiverecord>=3.0.0.beta <3.0.183.0.18
GHSA-gh2w-j7cx-2664RubyGemsactiverecord>=3.1.0 <3.1.93.1.9
GHSA-gh2w-j7cx-2664RubyGemsactiverecord>=3.2.0 <3.2.103.2.10
GHSA-gh2w-j7cx-2664RubyGemsactiverecord<2.3.152.3.15

References

Check your stackJSON