CVE-2017-17919: rubyonrails ruby_on_rails SQL Injection
Vulnerability summary
CVE-2017-17919 is a high (CVSS 8.1) SQL Injection vulnerability in rubyonrails ruby_on_rails. EPSS estimates a 1.51% chance of exploitation in the next 30 days, higher than 74.2% of scored vulnerabilities. 1 public exploit is recorded.
Timeline
- 29-12-2017PublishedVulnerability first disclosed.
- 05-08-2024Last modifiedVulnerability information updated.
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 metrics
5 scores · 3 sources · 3 versions- NVDNIST8.1HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated8.1HighCVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
1.51%
Chance of exploitation in the next 30 days
Percentile
74%
Versus all other CVEs
30-day change
+0.02 pp
From 1.49% on 21-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundExploit Reference (kay-malwarebenchmark.github.io)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Debian1 product
- railsAll versions (No fix recorded)
Rubyonrails1 product
- ruby_on_rails≤ 5.1.4
2 vendors · 2 products
References
2 links- kay-malwarebenchmark.github.io/blog/ruby-on-rails-arbitrary-sql-injection/X Refsource MISCExploitThird Party Advisory