CVE-2017-17917: rubyonrails rails SQL Injection
Vulnerability summary
CVE-2017-17917 is a high (CVSS 8.1) SQL Injection vulnerability in rubyonrails rails. EPSS estimates a 2.26% chance of exploitation in the next 30 days, higher than 82.8% 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 'where' method in Ruby on Rails 5.1.4 and earlier allows remote attackers to execute arbitrary SQL commands via the 'id' parameter. NOTE: The vendor disputes this issue because the documentation states that this method is not intended for use with untrusted input
CVSS metrics
3 scores · 2 sources · 2 versions- OSV · DebianEcosystem advisory · calculated8.1HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
2.26%
Chance of exploitation in the next 30 days
Percentile
83%
Versus all other CVEs
30-day change
Decrease -0.01 pp
From 2.27% on 22-09-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
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
- 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