Amazon Linux AMI : ruby23 / ruby24 (ALAS-2018-1113)

critical Nessus Plugin ID 119472

Synopsis

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

Description

An issue was discovered in the OpenSSL library in Ruby before 2.3.8, 2.4.x before 2.4.5, 2.5.x before 2.5.2, and 2.6.x before 2.6.0-preview3. When two OpenSSL::X509::Name objects are compared using ==, depending on the ordering, non-equal objects may return true. When the first argument is one character longer than the second, or the second argument contains a character that is one less than a character in the same position of the first argument, the result of == will be true. This could be leveraged to create an illegitimate certificate that may be accepted as legitimate and then used in signing or encryption operations.(CVE-2018-16395)

An issue was discovered in Ruby before 2.3.8, 2.4.x before 2.4.5, 2.5.x before 2.5.2, and 2.6.x before 2.6.0-preview3. It does not taint strings that result from unpacking tainted strings with some formats.(CVE-2018-16396)

Solution

Run 'yum update ruby23' to update your system.

See Also

https://alas.aws.amazon.com/ALAS-2018-1113.html

Plugin Details

Severity: Critical

ID: 119472

File Name: ala_ALAS-2018-1113.nasl

Version: 1.5

Type: local

Agent: unix

Published: 12/7/2018

Updated: 7/17/2024

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

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.5

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

CVSS Score Source: CVE-2018-16395

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:amazon:linux:rubygems23-devel, p-cpe:/a:amazon:linux:ruby23-debuginfo, p-cpe:/a:amazon:linux:ruby23-doc, p-cpe:/a:amazon:linux:ruby24, p-cpe:/a:amazon:linux:rubygems23, p-cpe:/a:amazon:linux:ruby23-irb, p-cpe:/a:amazon:linux:ruby23-devel, p-cpe:/a:amazon:linux:rubygem23-io-console, p-cpe:/a:amazon:linux:rubygem23-json, p-cpe:/a:amazon:linux:rubygem24-did_you_mean, cpe:/o:amazon:linux, p-cpe:/a:amazon:linux:ruby23-libs, p-cpe:/a:amazon:linux:ruby23, p-cpe:/a:amazon:linux:rubygem23-bigdecimal, p-cpe:/a:amazon:linux:rubygem24-json, p-cpe:/a:amazon:linux:rubygem24-io-console, p-cpe:/a:amazon:linux:rubygem23-psych, p-cpe:/a:amazon:linux:ruby24-doc, p-cpe:/a:amazon:linux:rubygem24-xmlrpc, p-cpe:/a:amazon:linux:ruby24-libs, p-cpe:/a:amazon:linux:rubygems24, p-cpe:/a:amazon:linux:ruby24-irb, p-cpe:/a:amazon:linux:rubygems24-devel, p-cpe:/a:amazon:linux:rubygem24-bigdecimal, p-cpe:/a:amazon:linux:ruby24-devel, p-cpe:/a:amazon:linux:rubygem23-did_you_mean, p-cpe:/a:amazon:linux:rubygem24-psych, p-cpe:/a:amazon:linux:ruby24-debuginfo

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

Exploit Ease: No known exploits are available

Patch Publication Date: 12/14/2018

Vulnerability Publication Date: 11/16/2018

Reference Information

CVE: CVE-2018-16395, CVE-2018-16396

ALAS: 2018-1113