Advisory

GHSA-wpw7-wxjm-cw8r

Also known as: CVE-2013-6417

Summary

actionpack allows bypass of database-query restrictions

Details

actionpack/lib/action_dispatch/http/request.rb in Ruby on Rails before 3.2.16 and 4.x before 4.0.2 does not properly consider differences in parameter handling between the Active Record component and the JSON implementation, which allows remote attackers to bypass intended database-query restrictions and perform NULL checks or trigger missing WHERE clauses via a crafted request that leverages (1) third-party Rack middleware or (2) custom Rack middleware. NOTE: this vulnerability exists because of an incomplete fix for CVE-2013-0155.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2017-10-24 18:33 UTC
Modified
2024-11-29 05:26 UTC

Affected packages and fixes

actionpack

RubyGems · All systems

Affected

  • introduced 3.0.0, fixed 3.2.16 (ecosystem)

Fixed versions

3.2.16

Fix

The export has no generic command for this ecosystem.

actionpack

RubyGems · All systems

Affected

  • introduced 4.0.0, fixed 4.0.2 (ecosystem)

Fixed versions

4.0.2

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