Rapid7 Vulnerability & Exploit Database

Centos Linux: CVE-2017-17405: Important: ruby security update (CESA-2018:0378)

Back to Search

Centos Linux: CVE-2017-17405: Important: ruby security update (CESA-2018:0378)

Severity
9
CVSS
(AV:N/AC:M/Au:N/C:C/I:C/A:C)
Published
12/15/2017
Created
07/25/2018
Added
03/13/2018
Modified
09/23/2019

Description

Ruby before 2.4.3 allows Net::FTP command injection. Net::FTP#get, getbinaryfile, gettextfile, put, putbinaryfile, and puttextfile use Kernel#open to open a local file. If the localfile argument starts with the "|" pipe character, the command following the pipe character is executed. The default value of localfile is File.basename(remotefile), so malicious FTP servers could cause arbitrary command execution.

Solution(s)

  • centos-upgrade-ruby
  • centos-upgrade-ruby-debuginfo
  • centos-upgrade-ruby-devel
  • centos-upgrade-ruby-doc
  • centos-upgrade-ruby-irb
  • centos-upgrade-ruby-libs
  • centos-upgrade-ruby-tcltk
  • centos-upgrade-rubygem-bigdecimal
  • centos-upgrade-rubygem-io-console
  • centos-upgrade-rubygem-json
  • centos-upgrade-rubygem-minitest
  • centos-upgrade-rubygem-psych
  • centos-upgrade-rubygem-rake
  • centos-upgrade-rubygem-rdoc
  • centos-upgrade-rubygems
  • centos-upgrade-rubygems-devel

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;