CVE-2017-17917

Source
https://cve.org/CVERecord?id=CVE-2017-17917
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-17917.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2017-17917
Downstream
Published
2017-12-29T16:29:00.263Z
Modified
2026-04-10T03:58:59.260569Z
Severity
  • 8.1 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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

References

Affected packages

Git / github.com/rails/rails

Affected ranges

Type
GIT
Repo
https://github.com/rails/rails
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Database specific
{
    "versions": [
        {
            "introduced": "0"
        },
        {
            "last_affected": "5.1.4"
        }
    ]
}

Affected versions

v0.*
v0.10.0
v0.10.1
v0.11.0
v0.11.1
v0.12.0
v0.13.0
v0.13.1
v0.14.1
v0.14.3
v0.9.1
v0.9.2
v0.9.3
v0.9.4
v0.9.4.1
v0.9.5
v1.*
v1.1.0
v1.1.0_RC1
v1.1.1
v2.*
v2.0.0
v2.0.0_PR
v2.0.0_RC1
v2.0.0_RC2
v2.0.1
v3.*
v3.0.0.beta.3
v3.0.0.beta3
v3.1.0.beta1
v3.1.0.rc1
v3.2.0.rc1
v4.*
v4.0.0.beta1
v4.0.0.rc1
v4.2.0.beta1
v5.*
v5.0.0.beta1
v5.0.0.beta2
v5.0.0.beta4
v5.1.0
v5.1.0.beta1
v5.1.0.rc1
v5.1.0.rc2
v5.1.1
v5.1.2.rc1
v5.1.3.rc1
v5.1.4
v5.1.4.rc1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-17917.json"