CVE-2017-17919: Rubyonrails Ruby On Rails

High severity, CVSS 8.1. EPSS: 1.5% chance of exploitation 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

Affected products

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