Skip to main content
← All vulnerabilities
CVE-2012-2661GHSA-FH39-V733-MXFR

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.0.13, 3.1.5, 3.2.4
1 proof of concept on GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • n/a n/a

    Version range not reported

  • activerecordRubyGems

    From 3.0.0 · fixed in 3.0.13

  • activerecordRubyGems

    From 3.1.0 · fixed in 3.1.5

  • activerecordRubyGems

    From 3.2.0 · fixed in 3.2.4

References 6

groups.google.com

lists.opensuse.org

rhn.redhat.com

GitHub · r4x0r1337/-CVE-2012-2661-ActiveRecord-SQL-injection-