RHEL 9:openssl (RHSA-2023: 2523)

high Nessus Plugin ID 175461

概要

遠端 Red Hat 主機缺少 openssl 的安全性更新。

說明

遠端 Redhat Enterprise Linux 9 主機上安裝的套件受到 RHSA-2023: 2523 公告中提及的弱點影響。

- OpenSSL 支援透過舊版 EVP_CIPHER_meth_new() 函式和相關函式呼叫建立自訂密碼。此函式在 OpenSSL 3.0 版本中已過時,建議應用程式作者改用新的提供者機制,以建置自訂密碼。OpenSSL 3.0.0 至 3.0.5 版未正確處理傳遞至 EVP_EncryptInit_ex2()、EVP_DecryptInit_ex2() 和 EVP_CipherInit_ex2() 函式 (以及其他名稱類似的加密和解密初始化函式) 的舊版自訂密碼。它沒有直接使用自訂密碼,而是錯誤地嘗試從可用的提供者處擷取等同的密碼。根據傳遞至 EVP_CIPHER_meth_new() 的 NID 找到等同的密碼。此 NID 應代表指定密碼的唯一 NID。不過,應用程式可能在呼叫 EVP_CIPHER_meth_new() 時將此值錯誤傳遞給 NID_undef。以此方式使用 NID_undef 時,OpenSSL 加密/解密初始化函式會將 NULL 密碼比對為等同,並將從可用的提供者處擷取此密碼。
如果已載入預設提供者 (或已載入提供此密碼的第三方提供者),此操作將會成功。使用 NULL 密碼表示純文字會作為密碼文字發出。
只有當應用程式使用 NID_undef 呼叫 EVP_CIPHER_meth_new(),並隨後在對加密/解密初始化函式的呼叫中使用時,才會受到此問題的影響。僅使用 SSL/TLS 的應用程式不受此問題影響。已在 OpenSSL 3.0.6 版中修正此問題 (受影響的是 3.0.0-3.0.5 版)。(CVE-2022-3358)

請注意,Nessus 並未測試此問題,而是僅依據應用程式自我報告的版本號碼作出判斷。

解決方案

依據 RHSA-2023: 2523 中的指引更新 RHEL openssl 套件。

另請參閱

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Plugin 詳細資訊

嚴重性: High

ID: 175461

檔案名稱: redhat-RHSA-2023-2523.nasl

版本: 1.4

類型: local

代理程式: unix

已發布: 2023/5/13

已更新: 2024/4/28

支援的感應器: Frictionless Assessment AWS, Frictionless Assessment Azure, Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Nessus

風險資訊

VPR

風險因素: Low

分數: 3.6

CVSS v2

風險因素: High

基本分數: 7.8

時間分數: 5.8

媒介: CVSS2#AV:N/AC:L/Au:N/C:C/I:N/A:N

CVSS 評分資料來源: CVE-2022-3358

CVSS v3

風險因素: High

基本分數: 7.5

時間分數: 6.5

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

時間媒介: CVSS:3.0/E:U/RL:O/RC:C

弱點資訊

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

必要的 KB 項目: Host/local_checks_enabled, Host/RedHat/release, Host/RedHat/rpm-list, Host/cpu

可輕鬆利用: No known exploits are available

修補程式發佈日期: 2023/5/9

弱點發布日期: 2022/9/29

參考資訊

CVE: CVE-2022-3358

CWE: 476

IAVA: 2022-A-0415-S

RHSA: 2023:2523