VDB
Sign up
HIGH

GHSA-jmm9-2p29-vh2w

activerecord vulnerable to SQL Injection

Quick fix

GHSA-jmm9-2p29-vh2w — activerecord: upgrade to the fixed version with the command below.

bundle update activerecord

Details

Ruby on Rails 3.0.x before 3.0.4 does not ensure that arguments to the limit function specify integer values, which makes it easier for remote attackers to conduct SQL injection attacks via a non-numeric argument.

Are you affected?

Enter the version of the package you're using.

Affected packages

RubyGems/activerecord
Introduced in: 3.0.0Fixed in: 3.0.4
Fixbundle update activerecord

References