Read the docs
TI-2017-13147 Aliases CVE-2017-17919GHSA-rjh4-8mqr-rvr8

SQL injection vulnerability in the 'order' method in Ruby on Rails 5.1.4 and earlier…

Priority MEDIUM 40CWE-89Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
High
Impact type
SQL injection
Confidentiality · integrity · availability
High · High · High
Fix status
No fix listed

Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA. Impact type from CWE-89.

Summary

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

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.01513 74th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix No fix listed No fixed version in the sources yet

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
  • — Vendor— Affected all versions Fixed in — No fix listed CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:rubyonrails:ruby_on_rails:*:*:*:*:*:*:*:*up to 5.1.4VulnerableRails
  • cpe:2.3:a:rubyonrails:ruby_on_rails:*:*:*:*:*:*:*:* Versions up to 5.1.4 Vulnerable ·Rails

Remediation

No fixed version listed by the sources yet.

Timeline

  1. 2026-10-02 Threatist record created from CVE-2017-17919
  2. 2026-10-03 Alias added: GHSA-rjh4-8mqr-rvr8

References

  • TI-2013-00091 active_support/core_ext/hash/conversions.rb in Ruby on Rails before 2.3.15, 3.0.x before… CVSS 2.0HIGH 7.5
  • TI-2013-00263 lib/active_support/json/backends/yaml.rb in Ruby on Rails 2.3.x before 2.3.16 and 3.0.x… CVSS 2.0HIGH 7.5
  • TI-2016-01923 Action Pack in Ruby on Rails before 3.2.22.2, 4.x before 4.1.14.2, and 4.2.x before… CVSS 3.0HIGH 7.3
  • TI-2013-00211 ActiveRecord in Ruby on Rails before 2.3.17 and 3.x before 3.1.0 allows remote attackers… CVSS 2.0HIGH 10.0
  • TI-2009-02310 The example code for the digest authentication functionality (http_authentication.rb) in… CVSS 3.1CRITICAL 9.8
  • TI-2016-00671 actionpack/lib/action_dispatch/http/mime_type.rb in Action Pack in Ruby on Rails before… CVSS 3.0HIGH 7.5
See all 48 →

Sources