{"id":"CVE-2017-17919","aliases":["DEBIAN-CVE-2017-17919","EUVD-2017-9062","GHSA-rjh4-8mqr-rvr8"],"status":"disputed","title":"** DISPUTED ** SQL injection vulnerability in the 'order' method in Ruby on Rails 5.1.4 and...","description":"SQL injection vulnerability in the 'order' method in Ruby on Rails 5.1.4 and earlier allows remote attackers to execute arbitrary SQL commands via the 'id desc' 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.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","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.01513,"percentile":0.74651,"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-09-01T20:03:46Z","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":"ruby_on_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-17919"},{"url":"https://kay-malwarebenchmark.github.io/blog/ruby-on-rails-arbitrary-sql-injection"},{"url":"https://github.com/advisories/GHSA-rjh4-8mqr-rvr8"},{"url":"https://security-tracker.debian.org/tracker/CVE-2017-17919","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2017-17919","description":"SQL injection vulnerability in the 'order' method in Ruby on Rails 5.1.4 and earlier allows remote attackers to execute arbitrary SQL commands via the 'id desc' 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.394Z","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":"adp"}],"cwes":["CWE-89"],"updated_at":"2026-11-02T14:33:18.248329Z"}],"euvd":[{"id":"EUVD-2017-9062","description":"SQL injection vulnerability in the 'order' method in Ruby on Rails 5.1.4 and earlier allows remote attackers to execute arbitrary SQL commands via the 'id desc' 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","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-03T02:23:08.049216Z"}],"ghsa":[{"id":"GHSA-rjh4-8mqr-rvr8","title":"** DISPUTED ** SQL injection vulnerability in the 'order' method in Ruby on Rails 5.1.4 and...","description":"** DISPUTED ** SQL injection vulnerability in the 'order' method in Ruby on Rails 5.1.4 and earlier allows remote attackers to execute arbitrary SQL commands via the 'id desc' 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-21T03:33: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:41.504227Z"}],"nvd":[{"id":"CVE-2017-17919","description":"SQL injection vulnerability in the 'order' method in Ruby on Rails 5.1.4 and earlier allows remote attackers to execute arbitrary SQL commands via the 'id desc' 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.297Z","modified":"2026-06-17T01:11:53.677Z","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":"secondary"},{"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","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-17919","description":"SQL injection vulnerability in the 'order' method in Ruby on Rails 5.1.4 and earlier allows remote attackers to execute arbitrary SQL commands via the 'id desc' 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.297Z","modified":"2026-03-14T09:24:50.90087Z","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"}],"updated_at":"2026-11-02T15:44:05.486486Z"},{"id":"DEBIAN-CVE-2017-17919","description":"SQL injection vulnerability in the 'order' method in Ruby on Rails 5.1.4 and earlier allows remote attackers to execute arbitrary SQL commands via the 'id desc' 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.297Z","modified":"2026-09-01T20:03:46.961241431Z","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"}],"updated_at":"2026-11-02T15:45:29.100767Z"}]}}
