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

high Nessus Plugin ID 180130

概要

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

說明

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

2024-07-03:已將 CVE-2023-51043 新增至此公告。

2024-02-01:已將 CVE-2024-0639 新增至此公告。

2024-01-03:已將 CVE-2023-39197 新增至此公告。

2023-10-12:已將 CVE-2023-44466 新增至此公告。

2023-10-10:已將 CVE-2022-48502 新增至此公告。

在 6.2 版之前的 Linux 核心中發現一個問題。ntfs3 子系統未在讀取磁碟期間正確檢查正確性,從而導致 fs/ntfs3/xattr.c 的 ntfs_set_ea 發生超出邊界讀取。
(CVE-2022-48502)

Linux 核心的 net/sched: sch_qfq 元件中有一個超出邊界寫入弱點,可遭惡意利用來提升本機權限。

net/sched/sch_qfq.c 中的 qfq_change_agg() 函式允許超出邊界寫入,這是因為 lmax 是根據封包大小更新並且沒有進行邊界檢查。

建議升級過去的 Commit 3e337087c3b5805fe0b8a46ba622a962880b5d64。(CVE-2023-3611)

Linux 核心的 net/sched: cls_fw 元件中有一個釋放後使用弱點,可遭惡意利用來提升本機權限。

如果 tcf_change_indev() 失敗,fw_set_parms() 會在增加或減少 tcf_bind_filter() 中的參照計數器後立即傳回錯誤。如果攻擊者可控制參照計數器並將其設定為零,便可造成參照釋放,進而導致釋放後使用弱點。

建議升級過去的 Commit 0323bce598eea038714f941ce2b22541c46d488f。(CVE-2023-3776)

在 Linux 核心的 Netfilter 連線追踪 (conntrack) 中發現一個超出邊界讀取弱點。此缺陷允許遠端使用者透過 DCCP 通訊協定洩漏敏感資訊。
(CVE-2023-39197)

在 6.4.5 版之前的 Linux 核心的 net/ceph/messenger_v2.c 中發現一個問題。其中存在整數正負號錯誤,可導致緩衝區溢位和透過 HELLO 或其中一個 AUTH 框架執行遠端程式碼。發生此問題的原因是從 ceph_decode_32 中的 TCP 封包取得了不受信任的長度。
(CVE-2023-44466)

在 6.4.5 之前的 Linux 核心中,drivers/gpu/drm/drm_atomic.c 在非封鎖 Atomic commit 和驅動程式卸載之間發生爭用情形時,會出現釋放後使用情形。(CVE-2023-51043)

在 Linux 核心的 SCTP 子系統中,在 net/sctp/socket.c 的 sctp_auto_asconf_init 中發現因鎖死而導致的拒絕服務弱點。此瑕疵允許具有本機使用者權限的來賓觸發鎖死,並可能造成系統當機。(CVE-2024-0639)

Tenable 已直接從所測試產品的安全公告擷取前置描述區塊。

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

解決方案

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

另請參閱

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

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

https://alas.aws.amazon.com/cve/html/CVE-2022-48502.html

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

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

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

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

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

https://alas.aws.amazon.com/cve/html/CVE-2024-0639.html

Plugin 詳細資訊

嚴重性: High

ID: 180130

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

版本: 1.9

類型: local

代理程式: unix

已發布: 2023/8/24

已更新: 2024/7/5

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

風險資訊

VPR

風險因素: Medium

分數: 6.7

CVSS v2

風險因素: High

基本分數: 9

時間分數: 7

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

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

CVSS v3

風險因素: High

基本分數: 8.8

時間分數: 7.9

媒介: CVSS:3.0/AV:N/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: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: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-livepatch-6.1.41-63.109, p-cpe:/a:amazon:linux:kernel-debuginfo-common-x86_64

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

可被惡意程式利用: true

可輕鬆利用: Exploits are available

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

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

參考資訊

CVE: CVE-2022-48502, CVE-2023-3611, CVE-2023-3776, CVE-2023-39197, CVE-2023-44466, CVE-2023-51043, CVE-2024-0639