RHEL 8 : pcre2 (RHSA-2022:5809)

critical Nessus Plugin ID 163792

Synopsis

The remote Red Hat host is missing a security update for pcre2.

Description

The remote Redhat Enterprise Linux 8 host has packages installed that are affected by a vulnerability as referenced in the RHSA-2022:5809 advisory.

The pcre2 package contains a new generation of the Perl Compatible Regular Expression libraries for implementing regular expression pattern matching using the same syntax and semantics as Perl.

Security Fix(es):

* pcre2: Out-of-bounds read in compile_xclass_matchingpath in pcre2_jit_compile.c (CVE-2022-1586)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Tenable has extracted the preceding description block directly from the Red Hat Enterprise Linux security advisory.

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

Solution

Update the RHEL pcre2 package based on the guidance in RHSA-2022:5809.

See Also

http://www.nessus.org/u?9341665d

http://www.nessus.org/u?e5f5234c

https://access.redhat.com/security/updates/classification/#moderate

https://access.redhat.com/errata/RHSA-2022:5809

https://bugzilla.redhat.com/show_bug.cgi?id=2077976

Plugin Details

Severity: Critical

ID: 163792

File Name: redhat-RHSA-2022-5809.nasl

Version: 1.9

Type: local

Agent: unix

Published: 8/3/2022

Updated: 11/7/2024

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

Risk Information

VPR

Risk Factor: Medium

Score: 5.2

Vendor

Vendor Severity: Moderate

CVSS v2

Risk Factor: Medium

Base Score: 6.4

Temporal Score: 4.7

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

CVSS Score Source: CVE-2022-1586

CVSS v3

Risk Factor: Critical

Base Score: 9.1

Temporal Score: 7.9

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

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

Vulnerability Information

CPE: p-cpe:/a:redhat:enterprise_linux:pcre2-utf16, p-cpe:/a:redhat:enterprise_linux:pcre2, cpe:/o:redhat:rhel_eus:8.6, p-cpe:/a:redhat:enterprise_linux:pcre2-utf32, p-cpe:/a:redhat:enterprise_linux:pcre2-devel, p-cpe:/a:redhat:enterprise_linux:pcre2-tools, cpe:/o:redhat:enterprise_linux:8

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 8/3/2022

Vulnerability Publication Date: 5/11/2022

Reference Information

CVE: CVE-2022-1586

CWE: 125

RHSA: 2022:5809