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.

- 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)

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?630aaedc

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.8

Type: local

Agent: unix

Published: 7/1/2022

Updated: 4/28/2024

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

Risk Information

VPR

Risk Factor: Medium

Score: 6.0

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

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