CVE-2017-17916: rubyonrails rails SQL Injection
Vulnerability summary
CVE-2017-17916 is a high (CVSS 8.1) SQL Injection vulnerability in rubyonrails rails. EPSS estimates a 1.53% chance of exploitation in the next 30 days, higher than 74.4% 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 'find_by' method in Ruby on Rails 5.1.4 and earlier allows remote attackers to execute arbitrary SQL commands via the 'name' 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
1.53%
Chance of exploitation in the next 30 days
Percentile
74%
Versus all other CVEs
30-day change
-0.01 pp
From 1.53% on 22-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
- 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