RHEL 9 : openssl (RHSA-2023:0946)

critical Nessus Plugin ID 171973

Synopsis

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

Description

The remote Redhat Enterprise Linux 9 host has packages installed that are affected by multiple vulnerabilities as referenced in the RHSA-2023:0946 advisory.

OpenSSL is a toolkit that implements the Secure Sockets Layer (SSL) and Transport Layer Security (TLS) protocols, as well as a full-strength general-purpose cryptography library.

Security Fix(es):

* openssl: X.400 address type confusion in X.509 GeneralName (CVE-2023-0286)

* openssl: read buffer overflow in X.509 certificate verification (CVE-2022-4203)

* openssl: timing attack in RSA Decryption implementation (CVE-2022-4304)

* openssl: double free after calling PEM_read_bio_ex (CVE-2022-4450)

* openssl: use-after-free following BIO_new_NDEF (CVE-2023-0215)

* openssl: invalid pointer dereference in d2i_PKCS7 functions (CVE-2023-0216)

* openssl: NULL dereference validating DSA public key (CVE-2023-0217)

* openssl: NULL dereference during PKCS7 data verification (CVE-2023-0401)

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.

Bug Fix(es):

* HMAC generation should reject key lengths < 112 bits or provide an indicator in FIPS mode (BZ#2144000)

* In FIPS mode, openssl should set a minimum length for passwords in PBKDF2 (BZ#2144003)

* stunnel consumes high amount of memory when pestered with TCP connections without a TLS handshake (BZ#2144008)

* In FIPS mode, openssl should reject SHAKE as digest for RSA-OAEP or provide an indicator (BZ#2144010)

* In FIPS mode, openssl should reject RSASSA-PSS salt lengths larger than the output size of the hash function used, or provide an indicator (BZ#2144012)

* In FIPS mode, openssl should reject RSA signatures with X9.31 padding, or provide an indicator (BZ#2144015)

* In FIPS mode, openssl should reject SHA-224, SHA-384, SHA-512-224, and SHA-512-256 as hashes for hash- based DRBGs, or provide an indicator after 2023-05-16 (BZ#2144017)

* In FIPS mode, openssl should reject KDF input and output key lengths < 112 bits or provide an indicator (BZ#2144019)

* In FIPS mode, openssl should reject RSA keys < 2048 bits when using EVP_PKEY_decapsulate, or provide an indicator (BZ#2145170)

* RHEL9.1 Nightly[0912] - error:03000093:digital envelope routines::command not supported when git clone is run with configured ibmca engine backed by libica.so.4 (OpenSSL 3.0) (BZ#2149010)

* OpenSSL FIPS checksum code needs update (BZ#2158412)

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 openssl package based on the guidance in RHSA-2023:0946.

See Also

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

https://access.redhat.com/errata/RHSA-2023:0946

Plugin Details

Severity: Critical

ID: 171973

File Name: redhat-RHSA-2023-0946.nasl

Version: 1.8

Type: local

Agent: unix

Published: 2/28/2023

Updated: 11/8/2024

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

Risk Information

VPR

Risk Factor: Medium

Score: 6.0

Vendor

Vendor Severity: Important

CVSS v2

Risk Factor: High

Base Score: 7.1

Temporal Score: 5.3

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

CVSS Score Source: CVE-2023-0286

CVSS v3

Risk Factor: High

Base Score: 7.4

Temporal Score: 6.4

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

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

CVSS v4

Risk Factor: Critical

Base Score: 9.3

Threat Score: 8.1

Threat Vector: CVSS:4.0/E:U

Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

CVSS Score Source: CVE-2023-0401

Vulnerability Information

CPE: p-cpe:/a:redhat:enterprise_linux:openssl-devel, p-cpe:/a:redhat:enterprise_linux:openssl-libs, cpe:/o:redhat:enterprise_linux:9, p-cpe:/a:redhat:enterprise_linux:openssl, p-cpe:/a:redhat:enterprise_linux:openssl-perl

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

Exploit Ease: No known exploits are available

Patch Publication Date: 2/28/2023

Vulnerability Publication Date: 12/15/2022

Reference Information

CVE: CVE-2022-4203, CVE-2022-4304, CVE-2022-4450, CVE-2023-0215, CVE-2023-0216, CVE-2023-0217, CVE-2023-0286, CVE-2023-0401

CWE: 125, 415, 416, 704

IAVA: 2022-A-0518-S

RHSA: 2023:0946