{"id":"CVE-2011-0448","published":"2011-02-21T00:00:00Z","modified":"2024-08-06T21:51:09Z","title":"Ruby on Rails 3.0.x before 3.0.4 does not ensure that arguments to the limit function specify integer values, which…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.02173,"percentile":0.8274,"provenance":"source"},"cwes":[],"references":[{"url":"http://groups.google.com/group/rubyonrails-security/msg/4e19864cf6ad40ad?dmode=source&output=gplain","tags":["mailing-list"]},{"url":"http://weblog.rubyonrails.org/2011/2/8/new-releases-2-3-11-and-3-0-4","tags":[]},{"url":"http://securitytracker.com/id?1025063","tags":["vdb-entry"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2011-April/057650.html","tags":["vendor-advisory"]},{"url":"http://secunia.com/advisories/43278","tags":["third-party-advisory"]},{"url":"http://www.vupen.com/english/advisories/2011/0877","tags":["vdb-entry"]},{"url":"https://github.com/rails/rails/commit/354da43ab0a10b3b7b3f9cb0619aa562c3be8474","tags":[]}],"priority":{"score":16.5,"factors":[{"name":"EPSS percentile","points":16.55}]},"affected":[{"ecosystem":"RubyGems","package":"activerecord","vulnerableRanges":[">=3.0.0, <3.0.4"],"patched":["3.0.4"],"from":["GHSA-jmm9-2p29-vh2w"],"provenance":"source"}],"summary":{"text":"The flaw lies in Ruby on Rails 3.0.x releases before 3.0.4, where the limit function does not ensure that its arguments are integer values. An attacker able to send a non-numeric argument to that function could conduct SQL injection.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:34:45Z"},"euvd":{"id":"EUVD-2017-0265","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-activerecord-cve-2008-4094","parents":[{"from":"CVE-2008-4094","to":"CVE-2011-0448","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb"],"commits":["https://github.com/rails/rails/commit/ef0ea782b1f5cf7b08e74ea3002a16c708f66645","https://github.com/rails/rails/commit/354da43ab0a10b3b7b3f9cb0619aa562c3be8474"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2008-4094","published":"2008-09-30","fixed":"2.1.1","kev":false},{"cve":"CVE-2010-3933","published":"2010-10-27","fixed":"3.0.1","kev":false,"link":{"from":"CVE-2010-3933","to":"CVE-2011-0448","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"RubyGems:activerecord","fromFixed":"3.0.1","toFixed":"3.0.4","daysApart":117}]}},{"cve":"CVE-2011-0448","published":"2011-02-21","fixed":"3.0.4","kev":false},{"cve":"CVE-2011-2930","published":"2011-08-29","fixed":"3.1.0.rc5","kev":false,"link":{"from":"CVE-2011-0448","to":"CVE-2011-2930","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"RubyGems:activerecord","fromFixed":"3.0.4","toFixed":"3.0.10","daysApart":189}]}},{"cve":"CVE-2013-0277","published":"2013-02-13","fixed":"3.1.0","kev":false},{"cve":"CVE-2012-2661","published":"2012-06-22","fixed":"3.2.4","kev":false}],"package":"RubyGems:activerecord"}}