Amazon Linux 2023:bpftool、kernel、kernel-devel (ALAS2023-2023-251)

high Nessus Plugin ID 178535

概要

遠端 Amazon Linux 2023 主機缺少一個安全性更新。

說明

因此,會受到 ALAS2023-2023-251 公告中所提及的多個弱點影響。

- Linux 核心的 Netfilter 子系統在處理批次要求中的具名和匿名集時會發生釋放後使用,這導致攻擊者可在核心記憶體中執行任意讀取和寫入。擁有 CAP_NET_ADMIN 權限的本機使用者可利用此缺陷造成系統當機,或可能提升自己的系統權限。(CVE-2023-3117)

- Linux 核心 nftables 釋放後使用本機權限提升弱點; `nft_chain_lookup_byid()` 無法檢查鏈結是否處於作用中狀態,以及 CAP_NET_ADMIN 是否位於任何使用者或網路命名空間中 (CVE-2023-31248)

- 在 Linux 核心的 Netfilter 子系統中發現 net/netfilter/nf_tables_api.c 存在釋放後使用弱點。不當處理 NFT_MSG_NEWRULE 的錯誤可能導致在相同交易中使用懸置指標,進而造成釋放後使用弱點。具有使用者存取權的本機攻擊者可利用此缺陷造成權限提升問題。我們建議升級過去的 commit 1240eb93f0616b21c675416516ff3d74798fdc97。(CVE-2023-3390)

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

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

解決方案

執行「dnf update kernel --releasever 2023.1.20230719」以更新系統。

另請參閱

https://alas.aws.amazon.com/AL2023/ALAS-2023-251.html

https://alas.aws.amazon.com/faqs.html

https://alas.aws.amazon.com/cve/html/CVE-2023-3117.html

https://alas.aws.amazon.com/cve/html/CVE-2023-3390.html

https://alas.aws.amazon.com/cve/html/CVE-2023-31248.html

https://alas.aws.amazon.com/cve/html/CVE-2023-35001.html

https://alas.aws.amazon.com/cve/html/CVE-2023-3609.html

https://alas.aws.amazon.com/cve/html/CVE-2023-3610.html

Plugin 詳細資訊

嚴重性: High

ID: 178535

檔案名稱: al2023_ALAS2023-2023-251.nasl

版本: 1.2

類型: local

代理程式: unix

已發布: 2023/7/20

已更新: 2023/10/23

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

風險資訊

VPR

風險因素: High

分數: 8.4

CVSS v2

風險因素: Medium

基本分數: 6.8

時間分數: 5

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

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

CVSS v3

風險因素: High

基本分數: 7.8

時間分數: 6.8

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

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

弱點資訊

CPE: p-cpe:/a:amazon:linux:perf-debuginfo, p-cpe:/a:amazon:linux:kernel-debuginfo-common-aarch64, p-cpe:/a:amazon:linux:kernel-tools, p-cpe:/a:amazon:linux:kernel-livepatch-6.1.38-59.109, p-cpe:/a:amazon:linux:python3-perf, p-cpe:/a:amazon:linux:kernel-libbpf-static, p-cpe:/a:amazon:linux:kernel-debuginfo, p-cpe:/a:amazon:linux:kernel-libbpf, p-cpe:/a:amazon:linux:bpftool-debuginfo, p-cpe:/a:amazon:linux:kernel-libbpf-devel, p-cpe:/a:amazon:linux:kernel-headers, p-cpe:/a:amazon:linux:kernel-tools-devel, cpe:/o:amazon:linux:2023, p-cpe:/a:amazon:linux:perf, p-cpe:/a:amazon:linux:bpftool, p-cpe:/a:amazon:linux:kernel-tools-debuginfo, p-cpe:/a:amazon:linux:kernel-devel, p-cpe:/a:amazon:linux:kernel, p-cpe:/a:amazon:linux:python3-perf-debuginfo, p-cpe:/a:amazon:linux:kernel-debuginfo-common-x86_64

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

可輕鬆利用: No known exploits are available

修補程式發佈日期: 2023/7/17

弱點發布日期: 2023/6/28

參考資訊

CVE: CVE-2023-3117, CVE-2023-31248, CVE-2023-3390, CVE-2023-35001, CVE-2023-3609, CVE-2023-3610