RHEL 9 : pcre2 (RHSA-2022:5251)

critical Nessus Plugin ID 162663

Synopsis

The remote Red Hat host is missing one or more security updates for pcre2.

Description

The remote Redhat Enterprise Linux 9 host has packages installed that are affected by multiple vulnerabilities as referenced in the RHSA-2022:5251 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)

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

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 these issues 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:5251.

See Also

http://www.nessus.org/u?0f2e8211

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

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

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

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

Plugin Details

Severity: Critical

ID: 162663

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

Version: 1.10

Type: local

Agent: unix

Published: 7/1/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-1587

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, cpe:/o:redhat:enterprise_linux:9, p-cpe:/a:redhat:enterprise_linux:pcre2, p-cpe:/a:redhat:enterprise_linux:pcre2-utf32, p-cpe:/a:redhat:enterprise_linux:pcre2-devel, cpe:/o:redhat:rhel_eus:9.0, p-cpe:/a:redhat:enterprise_linux:pcre2-syntax

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: 7/1/2022

Vulnerability Publication Date: 5/11/2022

Reference Information

CVE: CVE-2022-1586, CVE-2022-1587

CWE: 125

RHSA: 2022:5251