CVEfocus › CVE database › CVE-2017-17919

CVE-2017-17919

CVSS 8.1 HighEPSS 1.5% (higher than 75% of CVEs)Published 2017-12-29Updated 2024-08-05Assigner: mitre

SQL injection vulnerability in the 'order' method in Ruby on Rails 5.1.4 and earlier allows remote attackers to execute arbitrary SQL commands via the 'id desc' parameter. NOTE: The vendor disputes this issue because the documentation states that this method is not intended for use with untrusted input

CWE-89

What to do

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

7Fix pending
3Will not fix
2Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 24.04railsNot affected
vulnerable_code_not_present
Ubuntu 16.04railsFix pending
Ubuntu 14.04railsNot affected
vulnerable_code_not_present
Ubuntu 14.04rails-4.0Fix pending
Ubuntu 14.04ruby-actionpack-3.2Fix pending
Ubuntu 14.04ruby-activemodel-3.2Fix pending
Ubuntu 14.04ruby-activerecord-3.2Fix pending
Ubuntu 14.04ruby-activesupport-3.2Fix pending
Ubuntu 14.04ruby-rails-3.2Fix pending
Debian 14railsWill not fix
Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned.
DEBIAN-CVE-2017-17919
Debian 13railsWill not fix
Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned.
DEBIAN-CVE-2017-17919
Debian 12railsWill not fix
Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned.
DEBIAN-CVE-2017-17919

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.