Vulnerability 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 Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Rubyonrails | Rails | <= 5.1.4 |
Related Weaknesses (CWE)
References
- https://kay-malwarebenchmark.github.io/blog/ruby-on-rails-arbitrary-sql-injectioExploitThird Party Advisory
- https://kay-malwarebenchmark.github.io/blog/ruby-on-rails-arbitrary-sql-injectioExploitThird Party Advisory
FAQ
What is CVE-2017-17917?
CVE-2017-17917 is a vulnerability with a CVSS score of 8.1 (HIGH). 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 is...
How severe is CVE-2017-17917?
CVE-2017-17917 has been rated HIGH with a CVSS base score of 8.1/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2017-17917?
Check the references section above for vendor advisories and patch information. Affected products include: Rubyonrails Rails.