CVE-2017-17919: Rubyonrails Ruby On Rails

High severity, CVSS 8.1. EPSS: 1.5% probability of exploitation activity in the next 30 days.

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

What to do

No fixed version is stated in NVD's or the CNA's structured data. Check the vendor's advisory among the references.

Affected products

Published 2017-12-29. Last modified 2026-06-17.