Amazon Linux AMI : pcre (ALAS-2023-1767)

critical Nessus Plugin ID 177072

Synopsis

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

Description

The version of pcre installed on the remote host is prior to 8.21-7.9. It is, therefore, affected by multiple vulnerabilities as referenced in the ALAS-2023-1767 advisory.

Heap-based buffer overflow in the find_fixedlength function in pcre_compile.c in PCRE before 8.38 allows remote attackers to cause a denial of service (crash) or obtain sensitive information from heap memory and possibly bypass the ASLR protection mechanism via a crafted regular expression with an excess closing parenthesis. (CVE-2015-5073)

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)

Tenable has extracted the preceding description block directly from the tested product security advisory.

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/ALAS-2023-1767.html

https://alas.aws.amazon.com/cve/html/CVE-2015-5073.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: 177072

File Name: ala_ALAS-2023-1767.nasl

Version: 1.2

Type: local

Agent: unix

Published: 6/9/2023

Updated: 12/11/2024

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

Risk Information

VPR

Risk Factor: Medium

Score: 6.0

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-2015-8394

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

Exploit Ease: Exploits are available

Patch Publication Date: 6/5/2023

Vulnerability Publication Date: 6/26/2015

Reference Information

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