Amazon Linux 2 : pcre (ALAS-2023-2082)

critical Nessus Plugin ID 176945

Synopsis

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

Description

The version of pcre installed on the remote host is prior to 8.32-17. It is, therefore, affected by multiple vulnerabilities as referenced in the ALAS2-2023-2082 advisory.

- PCRE before 8.38 mishandles the [: and \\ substrings in character classes, which allows remote attackers to cause a denial of service (uninitialized memory read) or possibly have unspecified other impact via a crafted regular expression, as demonstrated by a JavaScript RegExp object encountered by Konqueror.
(CVE-2015-8390)

- PCRE before 8.38 mishandles the (?(<digits>) and (?(R<digits>) conditions, which allows remote attackers to cause a denial of service (integer overflow) or possibly have unspecified other impact via a crafted regular expression, as demonstrated by a JavaScript RegExp object encountered by Konqueror.
(CVE-2015-8394)

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

Solution

Run 'yum update pcre' to update your system.

See Also

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

https://alas.aws.amazon.com/cve/html/CVE-2015-8390.html

https://alas.aws.amazon.com/cve/html/CVE-2015-8394.html

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

Plugin Details

Severity: Critical

ID: 176945

File Name: al2_ALAS-2023-2082.nasl

Version: 1.0

Type: local

Agent: unix

Published: 6/8/2023

Updated: 6/8/2023

Supported Sensors: Frictionless Assessment AWS, Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Continuous Assessment, 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-2015-8394

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:pcre-tools, p-cpe:/a:amazon:linux:pcre-debuginfo, p-cpe:/a:amazon:linux:pcre, cpe:/o:amazon:linux:2, p-cpe:/a:amazon:linux:pcre-devel, p-cpe:/a:amazon:linux:pcre-static

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

Exploit Ease: No known exploits are available

Patch Publication Date: 6/5/2023

Vulnerability Publication Date: 12/2/2015

Reference Information

CVE: CVE-2015-8390, CVE-2015-8394