---
title: "CVE-2017-17916"
canonical_url: "https://pkgseek.com/security/CVE-2017-17916"
locale: "en"
source: "pkgseek"
entity_type: "cve"
severity: "high"
---

# CVE-2017-17916

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

CVE-2017-17916 is rated HIGH (8.1), with 14 indexed affected package builds across 1 distributions.

- **Severity / Score**: HIGH (8.1)
- **Affected builds**: 14
- **Affected distros**: 1
- **Distros with fixed_in**: None recorded in sample

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Debian | trixie | rails | 2:7.2.2.2+dfsg-2~deb13u2 | — |
| Debian | trixie | ruby-actioncable | 2:7.2.2.2+dfsg-2~deb13u2 | — |
| Debian | trixie | ruby-actionmailbox | 2:7.2.2.2+dfsg-2~deb13u2 | — |
| Debian | trixie | ruby-actionmailer | 2:7.2.2.2+dfsg-2~deb13u2 | — |
| Debian | trixie | ruby-actionpack | 2:7.2.2.2+dfsg-2~deb13u2 | — |
| Debian | trixie | ruby-actiontext | 2:7.2.2.2+dfsg-2~deb13u2 | — |
| Debian | trixie | ruby-actionview | 2:7.2.2.2+dfsg-2~deb13u2 | — |
| Debian | trixie | ruby-activejob | 2:7.2.2.2+dfsg-2~deb13u2 | — |
| Debian | trixie | ruby-activemodel | 2:7.2.2.2+dfsg-2~deb13u2 | — |
| Debian | trixie | ruby-activerecord | 2:7.2.2.2+dfsg-2~deb13u2 | — |
| Debian | trixie | ruby-activestorage | 2:7.2.2.2+dfsg-2~deb13u2 | — |
| Debian | trixie | ruby-activesupport | 2:7.2.2.2+dfsg-2~deb13u2 | — |
| Debian | trixie | ruby-rails | 2:7.2.2.2+dfsg-2~deb13u2 | — |
| Debian | trixie | ruby-railties | 2:7.2.2.2+dfsg-2~deb13u2 | — |
