CVE-2012-2694

rubygem-actionpack: Unsafe query generation (a different flaw than CVE-2012-2660)

Published Jun 22, 2012 CVSS 2.0 · 4.3 Medium EPSS 3.9% KEV · Not listed
Description
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2017-0284 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.
Github GHSA Github GHSA GHSA-q34c-48gc-m9g8 actionpack allows remote attackers to bypass database-query restrictions, perform NULL checks via crafted request
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Aug 6, 2024, 7:42 PM
Reserved
May 14, 2012, 12:00 AM
Status
Modified
Published
Jun 22, 2012, 2:55 PM
Modified
Jun 16, 2026, 11:41 PM
Severity
Low
Public date
Jun 12, 2012, 12:00 AM