Summary: | <dev-ruby/rails-{3.0.15,3.1.6,3.2.6} security bugs (CVE-2012-{2694,2695}) | ||
---|---|---|---|
Product: | Gentoo Security | Reporter: | Hans de Graaff <graaff> |
Component: | Vulnerabilities | Assignee: | Gentoo Security <security> |
Status: | RESOLVED FIXED | ||
Severity: | trivial | CC: | ruby |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | ~3 [noglsa] | ||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 418481 |
Description
Hans de Graaff
![]() ![]() dev-ruby/rails-3.2.6 is now in the tree. dev-ruby/rails-3.0.15 is now in the tree. Thanks for the report, Hans. Will you also bump 3.1.x? (In reply to comment #3) > Thanks for the report, Hans. > > Will you also bump 3.1.x? That's the plan but it can't be added as-is so I need to find time to fix the problems with it. Rails 3.1.6 is now also in the tree, so all Rails 3.x version are now bumped to fixed versions. Thanks, Hans. Closing noglsa for ~arch only. CVE-2012-2695 (http://nvd.nist.gov/nvd.cfm?cvename=CVE-2012-2695): 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. CVE-2012-2694 (http://nvd.nist.gov/nvd.cfm?cvename=CVE-2012-2694): actionpack/lib/action_dispatch/http/request.rb 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 consider differences in parameter handling between the Active Record component and the Rack interface, which allows remote attackers to bypass intended database-query restrictions and perform NULL checks via a crafted request, as demonstrated by certain "['xyz', nil]" values, a related issue to CVE-2012-2660. |