#VU116162 NULL pointer dereference in Ruby on Rails - CVE-2012-2694
Published: September 29, 2025
Ruby on Rails
Rails
Description
The vulnerability allows a remote attacker to gain access to potentially sensitive information.
The vulnerability exists due to actionpack/lib/action_dispatch/http/request.rb in Ruby on Rails does not properly consider differences in parameter handling between the Active Record component and the Rack interface. A remote attacker can bypass intended database-query restrictions and perform NULL checks via a crafted request.
Remediation
External links
- http://lists.opensuse.org/opensuse-security-announce/2012-08/msg00002.html
- http://lists.opensuse.org/opensuse-security-announce/2012-08/msg00014.html
- http://lists.opensuse.org/opensuse-security-announce/2012-08/msg00016.html
- http://lists.opensuse.org/opensuse-security-announce/2012-08/msg00017.html
- http://lists.opensuse.org/opensuse-updates/2012-08/msg00046.html
- http://rhn.redhat.com/errata/RHSA-2013-0154.html
- https://groups.google.com/group/rubyonrails-security/msg/e2d3a87f2c211def?dmode=source&output=gplain