{"id":"CVE-2017-17916","aliases":["DEBIAN-CVE-2017-17916","EUVD-2017-9059","GHSA-c2xw-j3rw-89x2"],"status":"disputed","title":"** DISPUTED ** SQL injection vulnerability in the 'find_by' method in Ruby on Rails 5.1.4 and...","description":"SQL injection vulnerability in the 'find_by' method in Ruby on Rails 5.1.4 and earlier allows remote attackers to execute arbitrary SQL commands via the 'name' parameter. NOTE: The vendor disputes this issue because the documentation states that this method is not intended for use with untrusted input","severity":{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.01539,"percentile":0.75059,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-89"],"published":"2017-12-29T16:00:00Z","modified":"2026-10-24T10:30:34Z","affected":[{"source":"osv","ecosystem":"Debian:12","package":"rails","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2:6.1.7.10+dfsg-1~deb12u1","2:6.1.7.10+dfsg-1~deb12u2","2:6.1.7.3+dfsg-1","2:6.1.7.3+dfsg-10","2:6.1.7.3+dfsg-11","2:6.1.7.3+dfsg-12","2:6.1.7.3+dfsg-13","2:6.1.7.3+dfsg-2","2:6.1.7.3+dfsg-2~deb12u1","2:6.1.7.3+dfsg-3","2:6.1.7.3+dfsg-4","2:6.1.7.3+dfsg-5","2:6.1.7.3+dfsg-6","2:6.1.7.3+dfsg-7","2:6.1.7.3+dfsg-7~exp1","2:6.1.7.3+dfsg-8","2:6.1.7.3+dfsg-9","2:7.2.2.1+dfsg-1","2:7.2.2.1+dfsg-1~exp1","2:7.2.2.1+dfsg-1~exp2","2:7.2.2.1+dfsg-1~exp3","2:7.2.2.1+dfsg-1~exp4","2:7.2.2.1+dfsg-1~exp6","2:7.2.2.1+dfsg-2","2:7.2.2.1+dfsg-3","2:7.2.2.1+dfsg-4","2:7.2.2.1+dfsg-5","2:7.2.2.1+dfsg-6","2:7.2.2.1+dfsg-7","2:7.2.2.2+dfsg-1","2:7.2.2.2+dfsg-2","2:7.2.2.2+dfsg-2~deb13u1","2:7.2.3+dfsg-1","2:7.2.3+dfsg-2","2:7.2.3+dfsg-3","2:7.2.3.1+dfsg-1","2:7.2.3.2+dfsg-1","2:7.2.3.2+dfsg-2"]},{"source":"osv","ecosystem":"Debian:13","package":"rails","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2:7.2.2.1+dfsg-7","2:7.2.2.2+dfsg-1","2:7.2.2.2+dfsg-2","2:7.2.2.2+dfsg-2~deb13u1","2:7.2.3+dfsg-1","2:7.2.3+dfsg-2","2:7.2.3+dfsg-3","2:7.2.3.1+dfsg-1","2:7.2.3.2+dfsg-1","2:7.2.3.2+dfsg-2"]},{"source":"osv","ecosystem":"Debian:14","package":"rails","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2:7.2.2.1+dfsg-7","2:7.2.2.2+dfsg-1","2:7.2.2.2+dfsg-2","2:7.2.2.2+dfsg-2~deb13u1","2:7.2.3+dfsg-1","2:7.2.3+dfsg-2","2:7.2.3+dfsg-3","2:7.2.3.1+dfsg-1","2:7.2.3.2+dfsg-1","2:7.2.3.2+dfsg-2"]}],"products":[{"vendor":"rubyonrails","product":"rails"}],"references":[{"url":"https://kay-malwarebenchmark.github.io/blog/ruby-on-rails-arbitrary-sql-injection/","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-17916"},{"url":"https://kay-malwarebenchmark.github.io/blog/ruby-on-rails-arbitrary-sql-injection"},{"url":"https://github.com/advisories/GHSA-c2xw-j3rw-89x2"},{"url":"https://security-tracker.debian.org/tracker/CVE-2017-17916","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2017-17916","description":"SQL injection vulnerability in the 'find_by' method in Ruby on Rails 5.1.4 and earlier allows remote attackers to execute arbitrary SQL commands via the 'name' parameter. NOTE: The vendor disputes this issue because the documentation states that this method is not intended for use with untrusted input","status":"disputed","published":"2017-12-29T16:00:00Z","modified":"2024-08-05T21:06:49.368Z","updated_at":"2026-11-02T14:33:18.248329Z"}],"euvd":[{"id":"EUVD-2017-9059","description":"SQL injection vulnerability in the 'find_by' method in Ruby on Rails 5.1.4 and earlier allows remote attackers to execute arbitrary SQL commands via the 'name' parameter. NOTE: The vendor disputes this issue because the documentation states that this method is not intended for use with untrusted input","status":"published","published":"2017-12-29T16:00:00Z","modified":"2024-08-05T21:06:49Z","updated_at":"2026-11-03T02:23:08.049216Z"}],"ghsa":[{"id":"GHSA-c2xw-j3rw-89x2","title":"** DISPUTED ** SQL injection vulnerability in the 'find_by' method in Ruby on Rails 5.1.4 and...","description":"** DISPUTED ** SQL injection vulnerability in the 'find_by' method in Ruby on Rails 5.1.4 and earlier allows remote attackers to execute arbitrary SQL commands via the 'name' parameter. NOTE: The vendor disputes this issue because the documentation states that this method is not intended for use with untrusted input.","status":"published","published":"2022-05-14T03:51:11Z","modified":"2024-03-30T05:01:22Z","cvss":[{"version":"3.0","score":8.1,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-89"],"updated_at":"2026-11-02T14:55:44.111751Z"}],"nvd":[{"id":"CVE-2017-17916","description":"SQL injection vulnerability in the 'find_by' method in Ruby on Rails 5.1.4 and earlier allows remote attackers to execute arbitrary SQL commands via the 'name' parameter. NOTE: The vendor disputes this issue because the documentation states that this method is not intended for use with untrusted input","status":"disputed","published":"2017-12-29T16:29:00.217Z","modified":"2026-06-17T01:11:53.447Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-89"],"updated_at":"2026-11-02T14:04:11.215487Z"}],"osv":[{"id":"CVE-2017-17916","description":"SQL injection vulnerability in the 'find_by' method in Ruby on Rails 5.1.4 and earlier allows remote attackers to execute arbitrary SQL commands via the 'name' parameter. NOTE: The vendor disputes this issue because the documentation states that this method is not intended for use with untrusted input","status":"published","published":"2017-12-29T16:29:00.217Z","modified":"2026-10-24T10:30:34.557514561Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:04.853379Z"},{"id":"DEBIAN-CVE-2017-17916","description":"SQL injection vulnerability in the 'find_by' method in Ruby on Rails 5.1.4 and earlier allows remote attackers to execute arbitrary SQL commands via the 'name' parameter. NOTE: The vendor disputes this issue because the documentation states that this method is not intended for use with untrusted input","status":"published","published":"2017-12-29T16:29:00.217Z","modified":"2026-09-01T20:03:46.933296351Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:29.100767Z"}]}}
