CVE-2017-17920

NameCVE-2017-17920
DescriptionSQL injection vulnerability in the 'reorder' 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
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
rails (PTS)buster2:5.2.2.1+dfsg-1+deb10u3vulnerable (unimportant)
buster (security)2:5.2.2.1+dfsg-1+deb10u5vulnerable (unimportant)
bullseye (security), bullseye2:6.0.3.7+dfsg-2+deb11u2vulnerable (unimportant)
bookworm2:6.1.7.3+dfsg-1vulnerable (unimportant)
sid, trixie2:6.1.7.3+dfsg-3vulnerable (unimportant)

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
railssource(unstable)(unfixed)unimportant

Notes

https://kay-malwarebenchmark.github.io/blog/ruby-on-rails-arbitrary-sql-injection/
All of those methods accept arbitrary SQL by design.

Search for package or bug name: Reporting problems