RHEL 8:核心 (RHSA-2023: 5627)

high Nessus Plugin ID 182828

概要

遠端 Red Hat 主機缺少一個或多個安全性更新。

說明

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

- 5.5.7 版之前的 Linux 核心中存在與 VT_RESIZEX 相關的爭用情形,這可導致 NULL 指標解除參照和一般保護錯誤。(CVE-2020-36558)

- 使用 Dm-verity 將 root-of-trust 延伸至 root 檔案系統。LoadPin 以此內容為基礎構建,以將模組/韌體載入限制為僅受信任的 root 檔案系統。Device-mapper 表格重新載入目前允許具有 root 特權的使用者離開包含同等 dm-linear 目標的目標並繞過驗證,直到重新開機。這可讓 root 繞過 LoadPin,並用來載入未受信任和未經驗證的核心模組和韌體,對於不驗證韌體更新的週邊裝置而言,這表示存在核心級任意程式碼執行問題,並且問題會持續存在。我們建議升級過去的 commit 4caae58406f8ceb741603eee460d79bacca9b1b5 (CVE-2022-2503)

- 在 Linux 核心的 Intel iSMT SMBus 主機控制器驅動程式中,在使用者以惡意輸入資料觸發 I2C_SMBUS_BLOCK_DATA (使用 ioctl I2C_SMBUS) 的方式中發現記憶體超出邊界存取缺陷。本機使用者可利用此缺陷導致系統當機。(CVE-2022-2873)

- 在 Linux 核心 5.18.14 以及之前版本中發現一個問題。 net/xfrm/xfrm_policy.c 中的 xfrm_expand_policies 可造成一個參照計數被捨棄兩次。(CVE-2022-36879)

- 據發現,在 Linux 核心中,由於爭用問題,net/sched/sch_api.c 的 qdisc_graft 中存在釋放後使用缺陷。此缺陷可導致拒絕服務問題。如果尚未套用修補程式 ebda44da44f6 (net: sched:修正了 qdisc_graft() 中的爭用條件),則核心可能受到影響。(CVE-2023-0590)

- 在 nf_tables_updtable 中,如果 nf_tables_table_enable 傳回錯誤,程式會呼叫 nft_trans_destroy 以釋放交易物件。nft_trans_destroy() 呼叫 list_del(),但交易從未放置在清單上
-- 清單標頭全部為零,這會導致 NULL 指標解除參照。(CVE-2023-1095)

- 當使用者發動新類型的 SYN 溢流攻擊時,在 Linux 核心的 IPv6 功能的 IPv6 連線查閱表格中發現一個雜湊衝突缺陷。位於本機網路或具有高頻寬連線的使用者可將接受 IPV6 連線的伺服器的 CPU 使用率提高到 95%。(CVE-2023-1206)

- Linux 核心效能事件系統中有一個釋放後使用弱點,可遭惡意利用來提升本機權限。perf_group_detach 函式在呼叫 add_event_to_groups() 之前並未檢查事件的同級,但是 remove_on_exec 可以在從其群組卸離之前呼叫 list_del_event(),從而可能使用造成釋放後使用弱點的懸置指標。我們建議升級為過往的 commit fd0815f632c24878e325821943edccc7fde947a2。(CVE-2023-2235)

- 攻擊者可惡意利用 Linux 核心 ipvlan 網路驅動程式中的堆積超出邊界寫入弱點來提升本機權限。之所以存在超出邊界寫入弱點,是因為 ipvlan 網路驅動程式中缺少 skb->cb 初始化。若已啟用 CONFIG_IPVLAN,則可攻擊此弱點。我們建議升級過去的 commit 90cbed5247439a966b645b34eb0a2e037836ea8e。(CVE-2023-3090)

- Linux 核心 nftables 超出邊界讀取/寫入弱點;當 CAP_NET_ADMIN 位於任何使用者或網路命名空間時,nft_byteorder 未正確處理 vm 暫存器內容 (CVE-2023-35001)

- 在 Linux 核心的 netfilter 中,在使用者觸發含元素的 nft_pipapo_remove 函式 (不含 NFT_SET_EXT_KEY_END) 的方式中發現一個釋放後使用缺陷。本機使用者可利用此問題使系統當機,或可能提升其在系統中的權限。(CVE-2023-4004)

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

解決方案

更新受影響的套件。

另請參閱

http://www.nessus.org/u?1aa80882

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Plugin 詳細資訊

嚴重性: High

ID: 182828

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

版本: 1.3

類型: local

代理程式: unix

已發布: 2023/10/10

已更新: 2024/4/28

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

風險資訊

VPR

風險因素: Medium

分數: 6.7

CVSS v2

風險因素: Medium

基本分數: 6.8

時間分數: 5.3

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

CVSS 評分資料來源: CVE-2023-4004

CVSS v3

風險因素: High

基本分數: 7.8

時間分數: 7

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

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

弱點資訊

CPE: p-cpe:/a:redhat:enterprise_linux:kernel-debug-core, p-cpe:/a:redhat:enterprise_linux:kernel-tools-libs-devel, p-cpe:/a:redhat:enterprise_linux:kernel-debug-devel, p-cpe:/a:redhat:enterprise_linux:kernel-core, p-cpe:/a:redhat:enterprise_linux:kernel-cross-headers, p-cpe:/a:redhat:enterprise_linux:kernel-tools-libs, p-cpe:/a:redhat:enterprise_linux:perf, p-cpe:/a:redhat:enterprise_linux:bpftool, p-cpe:/a:redhat:enterprise_linux:kernel-tools, p-cpe:/a:redhat:enterprise_linux:kernel-zfcpdump, p-cpe:/a:redhat:enterprise_linux:kernel-debug-modules-extra, p-cpe:/a:redhat:enterprise_linux:kernel-devel, p-cpe:/a:redhat:enterprise_linux:kernel-zfcpdump-core, p-cpe:/a:redhat:enterprise_linux:kernel, cpe:/o:redhat:enterprise_linux:8, p-cpe:/a:redhat:enterprise_linux:kernel-zfcpdump-modules-extra, p-cpe:/a:redhat:enterprise_linux:kernel-modules-extra, cpe:/o:redhat:rhel_eus:8.6, p-cpe:/a:redhat:enterprise_linux:kernel-modules, p-cpe:/a:redhat:enterprise_linux:kernel-zfcpdump-modules, p-cpe:/a:redhat:enterprise_linux:kernel-zfcpdump-devel, p-cpe:/a:redhat:enterprise_linux:kernel-debug-modules, p-cpe:/a:redhat:enterprise_linux:kernel-debug, p-cpe:/a:redhat:enterprise_linux:python3-perf

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

可被惡意程式利用: true

可輕鬆利用: Exploits are available

修補程式發佈日期: 2023/10/10

弱點發布日期: 2022/7/21

參考資訊

CVE: CVE-2020-36558, CVE-2022-2503, CVE-2022-2873, CVE-2022-36879, CVE-2023-0590, CVE-2023-1095, CVE-2023-1206, CVE-2023-2235, CVE-2023-3090, CVE-2023-35001, CVE-2023-4004, CVE-2023-4128

CWE: 125, 131, 288, 400, 416, 476, 787, 911

RHSA: 2023:5627