← Vulnerability feed

Vulnerability record · CVE-2017-17919 · published 29 December 2017

CVE-2017-17919: Rubyonrails ruby on rails sql injection vulnerability

Rubyonrails · Ruby On Rails

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

8.1 CVSS 3.1 High EPSS 1.5% · top 25.0% CWE-89 · SQL injection
8.1CVSS 3.1 base score, v2 6.8
1.5%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
2References, 2 tagged exploit
17 Jun 2026Last modified by NVD

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

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2017-17919 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

10.0CVE-2013-0277Rubyonrails rails vulnerabilityActiveRecord in Ruby on Rails before 2.3.17 and 3.x before 3.1.0 allows remote attackers to cause a denial of service or execute arbitrary code via c…EPSS 7.5%9.8CVE-2009-2422Rubyonrails ruby on rails improper authentication vulnerabilityThe example code for the digest authentication functionality (http_authentication.rb) in Ruby on Rails before 2.3.3 defines an authenticate_or_reques…EPSS 3.4%8.1CVE-2017-17920Rubyonrails ruby on rails sql injection vulnerabilitySQL injection vulnerability in the 'reorder' method in Ruby on Rails 5.1.4 and earlier allows remote attackers to execute arbitrary SQL commands via …EPSS 1.5%7.5CVE-2016-0751Rubyonrails rails vulnerabilityactionpack/lib/action_dispatch/http/mime_type.rb in Action Pack in Ruby on Rails before 3.2.22.1, 4.0.x and 4.1.x before 4.1.14.1, 4.2.x before 4.2.5…EPSS 9.7%7.5CVE-2014-3482Rubyonrails rails sql injection vulnerabilitySQL injection vulnerability in activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb in the PostgreSQL adapter for Active Record i…EPSS 4.3%7.5CVE-2013-0333Ruby on Rails JSON-to-YAML conversion allows remote code executionRuby on Rails 2.3.x before 2.3.16 and 3.0.x before 3.0.20 mishandles conversion of JSON data to YAML in lib/active_support/json/backends/yaml.rb, fee…EPSS 96%analysed7.5CVE-2013-0156Ruby on Rails XML parameter parsing allows object injection and code executionRuby on Rails fails to properly restrict casts of string values in active_support/core_ext/hash/conversions.rb, allowing remote attackers to perform …EPSS 99%analysed7.5CVE-2012-6496Rubyonrails rails sql injection vulnerabilitySQL injection vulnerability in the Active Record component in Ruby on Rails before 3.0.18, 3.1.x before 3.1.9, and 3.2.x before 3.2.10 allows remote …EPSS 4.6%

Source: NIST National Vulnerability Database (record CVE-2017-17919), CISA KEV, FIRST EPSS (scores of 2026-11-18). This page is refreshed as NVD updates the record.