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 activerecordDetails
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
References
- https://nvd.nist.gov/vuln/detail/CVE-2011-0448[ADVISORY]
- https://github.com/rails/rails/commit/354da43ab0a10b3b7b3f9cb0619aa562c3be8474[WEB]
- https://github.com/rails/rails[PACKAGE]
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/activerecord/CVE-2011-0448.yml[WEB]
- https://web.archive.org/web/20201220214809/http://securitytracker.com/id?1025063[WEB]
- http://groups.google.com/group/rubyonrails-security/msg/4e19864cf6ad40ad?dmode=source&output=gplain[WEB]
- http://lists.fedoraproject.org/pipermail/package-announce/2011-April/057650.html[WEB]
- http://weblog.rubyonrails.org/2011/2/8/new-releases-2-3-11-and-3-0-4[WEB]