Amazon Linux AMI : ruby22 (ALAS-2015-549)

medium Nessus Plugin ID 84250

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 ruby22' to update your system.

See Also

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

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

Plugin Details

Severity: Medium

ID: 84250

File Name: ala_ALAS-2015-549.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:ruby22-libs, p-cpe:/a:amazon:linux:ruby22-irb, p-cpe:/a:amazon:linux:rubygem22-bigdecimal, p-cpe:/a:amazon:linux:rubygems22-devel, p-cpe:/a:amazon:linux:ruby22-debuginfo, p-cpe:/a:amazon:linux:rubygem22-psych, p-cpe:/a:amazon:linux:ruby22-doc, p-cpe:/a:amazon:linux:ruby22-devel, p-cpe:/a:amazon:linux:ruby22, p-cpe:/a:amazon:linux:rubygem22-io-console, p-cpe:/a:amazon:linux:rubygems22, cpe:/o:amazon:linux

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-549