Advisory

GHSA-q34c-48gc-m9g8

Also known as: CVE-2012-2694

Summary

actionpack allows remote attackers to bypass database-query restrictions, perform NULL checks via crafted request

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2017-10-24 18:33 UTC
Modified
2025-01-20 16:44 UTC

Affected packages and fixes

actionpack

RubyGems · All systems

Affected

  • introduced 3.0.13, fixed 3.0.14 (ecosystem)

Fixed versions

3.0.14

Fix

The export has no generic command for this ecosystem.

actionpack

RubyGems · All systems

Affected

  • introduced 3.1.0, fixed 3.1.6 (ecosystem)

Fixed versions

3.1.6

Fix

The export has no generic command for this ecosystem.

actionpack

RubyGems · All systems

Affected

  • introduced 3.2.0, fixed 3.2.6 (ecosystem)

Fixed versions

3.2.6

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences