NULL pointer dereference in Ruby on Rails - CVE-2012-2694

 

NULL pointer dereference in Ruby on Rails - CVE-2012-2694

Published: September 29, 2025


Vulnerability identifier: #VU116162
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2012-2694
CWE-ID: CWE-476
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Rails
Affected software:
Ruby on Rails

Detailed vulnerability 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.


How to mitigate CVE-2012-2694

Install updates from vendor's website.

Sources