Rapid7 Vulnerability & Exploit Database

Amazon Linux AMI: CVE-2017-17790: Security patch for ruby20, ruby22, ruby23, ruby24 (ALAS-2018-983)

Free InsightVM Trial No Credit Card Necessary
Watch Demo See how it all works
Back to Search

Amazon Linux AMI: CVE-2017-17790: Security patch for ruby20, ruby22, ruby23, ruby24 (ALAS-2018-983)

Severity
8
CVSS
(AV:N/AC:L/Au:N/C:P/I:P/A:P)
Published
12/20/2017
Created
07/25/2018
Added
04/06/2018
Modified
04/16/2020

Description

The lazy_initialize function in lib/resolv.rb in Ruby through 2.4.3 uses Kernel#open, which might allow Command Injection attacks, as demonstrated by a Resolv::Hosts::new argument beginning with a '|' character, a different vulnerability than CVE-2017-17405. NOTE: situations with untrusted input may be highly unlikely.

Solution(s)

  • amazon-linux-upgrade--ruby22
  • amazon-linux-upgrade--ruby23
  • amazon-linux-upgrade--ruby24
  • amazon-linux-upgrade-ruby20

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

;