Amazon Linux AMI : ruby20 (ALAS-2015-547)

medium Nessus Plugin ID 84248

Synopsis

The remote Amazon Linux AMI host is missing a security update.

Description

RubyGems provides the ability of a domain to direct clients to a separate host that is used to fetch gems and make API calls against.
This mechanism is implemented via DNS, specificly a SRV record
_rubygems._tcp under the original requested domain. RubyGems did not validate the hostname returned in the SRV record before sending requests to it. (CVE-2015-3900)

As discussed upstream, CVE-2015-4020 is due to an incomplete fix for CVE-2015-3900 , which allowed redirection to an arbitrary gem server in any security domain.

Solution

Run 'yum update ruby20' to update your system.

See Also

http://www.nessus.org/u?3dfa3e8c

https://alas.aws.amazon.com/ALAS-2015-547.html

Plugin Details

Severity: Medium

ID: 84248

File Name: ala_ALAS-2015-547.nasl

Version: 2.3

Type: local

Agent: unix

Published: 6/18/2015

Updated: 4/18/2018

Supported Sensors: Agentless Assessment, Continuous Assessment, Frictionless Assessment Agent, Frictionless Assessment AWS, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3.6

CVSS v2

Risk Factor: Medium

Base Score: 5

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:P/A:N

Vulnerability Information

CPE: p-cpe:/a:amazon:linux:ruby20-libs, p-cpe:/a:amazon:linux:rubygem20-bigdecimal, p-cpe:/a:amazon:linux:rubygem20-psych, p-cpe:/a:amazon:linux:rubygems20, p-cpe:/a:amazon:linux:rubygem20-io-console, p-cpe:/a:amazon:linux:ruby20, p-cpe:/a:amazon:linux:ruby20-debuginfo, p-cpe:/a:amazon:linux:ruby20-irb, p-cpe:/a:amazon:linux:ruby20-doc, cpe:/o:amazon:linux, p-cpe:/a:amazon:linux:ruby20-devel, p-cpe:/a:amazon:linux:rubygems20-devel

Required KB Items: Host/local_checks_enabled, Host/AmazonLinux/release, Host/AmazonLinux/rpm-list

Patch Publication Date: 6/16/2015

Reference Information

CVE: CVE-2015-3900, CVE-2015-4020

ALAS: 2015-547