{"id":"CVE-2011-0448","aliases":["EUVD-2017-0265","GHSA-jmm9-2p29-vh2w"],"status":"published","title":"activerecord vulnerable to SQL Injection","description":"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.","severity":{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.02173,"percentile":0.82421,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-89"],"published":"2011-02-21T00:00:00Z","modified":"2026-06-16T23:27:24Z","fixes":[{"ecosystem":"RubyGems","package":"activerecord","fixed_in":["3.0.4"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"RubyGems","package":"activerecord","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.0.0"},{"fixed":"3.0.4"}]}]},{"source":"osv","ecosystem":"RubyGems","package":"activerecord","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.0.0"},{"fixed":"3.0.4"}]}],"versions":["3.0.0","3.0.1","3.0.2","3.0.3","3.0.4.rc1"]}],"products":[{"vendor":"rubyonrails","product":"rails"}],"references":[{"url":"http://groups.google.com/group/rubyonrails-security/msg/4e19864cf6ad40ad?dmode=source\u0026output=gplain","tags":["mailing-list","x_transferred","Patch","web"]},{"url":"http://weblog.rubyonrails.org/2011/2/8/new-releases-2-3-11-and-3-0-4","tags":["x_transferred","Patch","web"]},{"url":"http://securitytracker.com/id?1025063","tags":["vdb-entry","x_transferred"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2011-April/057650.html","tags":["vendor-advisory","x_transferred","web"]},{"url":"http://secunia.com/advisories/43278","tags":["third-party-advisory","x_transferred","Vendor Advisory"]},{"url":"http://www.vupen.com/english/advisories/2011/0877","tags":["vdb-entry","x_transferred"]},{"url":"https://github.com/rails/rails/commit/354da43ab0a10b3b7b3f9cb0619aa562c3be8474","tags":["x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2011-0448","tags":["advisory"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/activerecord/CVE-2011-0448.yml","tags":["web"]},{"url":"https://web.archive.org/web/20201220214809/http://securitytracker.com/id?1025063","tags":["web"]},{"url":"https://github.com/advisories/GHSA-jmm9-2p29-vh2w"},{"url":"https://github.com/rails/rails","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2011-0448","description":"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.","status":"published","published":"2011-02-21T00:00:00Z","modified":"2024-08-06T21:51:09.165Z","updated_at":"2026-11-02T14:35:39.079595Z"}],"euvd":[{"id":"EUVD-2017-0265","description":"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.","status":"published","published":"2011-02-21T00:00:00Z","modified":"2024-08-06T21:51:09Z","updated_at":"2026-11-03T01:56:00.140679Z"}],"ghsa":[{"id":"GHSA-jmm9-2p29-vh2w","title":"activerecord vulnerable to SQL Injection","description":"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.","status":"published","published":"2017-10-24T18:33:38Z","modified":"2023-11-09T05:03:45Z","cwes":["CWE-89"],"updated_at":"2026-11-02T14:37:17.64478Z"}],"nvd":[{"id":"CVE-2011-0448","description":"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.","status":"published","published":"2011-02-21T18:00:01.287Z","modified":"2026-06-16T23:27:24.437Z","cvss":[{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"cwes":["CWE-89"],"updated_at":"2026-11-02T14:02:06.042049Z"}],"osv":[{"id":"GHSA-jmm9-2p29-vh2w","title":"activerecord vulnerable to SQL Injection","description":"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.","status":"published","published":"2017-10-24T18:33:38Z","modified":"2024-11-28T05:39:45.761595Z","cwes":["CWE-89"],"updated_at":"2026-11-02T15:46:50.687609Z"}]}}
