RHEL 9 : openssl (RHSA-2023:1199)

high Nessus Plugin ID 172543

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:1199 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#2144001)

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

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

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

* 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#2144013)

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

* 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#2144018)

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

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

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

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:1199.

See Also

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

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

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

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

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

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

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

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

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

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

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

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

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

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:1199

Plugin Details

Severity: High

ID: 172543

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

Version: 1.6

Type: local

Agent: unix

Published: 3/14/2023

Updated: 11/7/2024

Supported Sensors: Frictionless Assessment AWS, Frictionless Assessment Azure, Frictionless Assessment Agent, Nessus Agent, Agentless 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, p-cpe:/a:redhat:enterprise_linux:openssl, cpe:/o:redhat:rhel_eus:9.0, 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: 3/14/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:1199