Amazon Linux 2 : oniguruma (ALAS-2023-2217)

critical Nessus Plugin ID 180074

Synopsis

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

Description

The version of oniguruma installed on the remote host is prior to 5.9.6-1. It is, therefore, affected by a vulnerability as referenced in the ALAS2-2023-2217 advisory.

- An issue was discovered in Oniguruma 6.2.0, as used in Oniguruma-mod in Ruby through 2.4.1 and mbstring in PHP through 7.1.5. A stack out-of-bounds read occurs in match_at() during regular expression searching. A logical error involving order of validation and access in match_at() could result in an out-of-bounds read from a stack buffer. (CVE-2017-9224)

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Run 'yum update oniguruma' to update your system.

See Also

https://alas.aws.amazon.com/AL2/ALAS-2023-2217.html

https://alas.aws.amazon.com/cve/html/CVE-2017-9224.html

https://alas.aws.amazon.com/faqs.html

Plugin Details

Severity: Critical

ID: 180074

File Name: al2_ALAS-2023-2217.nasl

Version: 1.1

Type: local

Agent: unix

Published: 8/23/2023

Updated: 8/24/2023

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

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.9

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

CVSS Score Source: CVE-2017-9224

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.8

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:P/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:amazon:linux:oniguruma-devel, cpe:/o:amazon:linux:2, p-cpe:/a:amazon:linux:oniguruma, p-cpe:/a:amazon:linux:oniguruma-debuginfo

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 8/17/2023

Vulnerability Publication Date: 5/22/2017

Reference Information

CVE: CVE-2017-9224