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

high Nessus Plugin ID 173854

概要

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

說明

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

在 Linux 核心中,下列弱點已解決:

KVMVMX將 /dev/kvm 洩漏至使用者空間前執行 _all_ 初始化 (CVE-2022-49932)

Linux 核心效能事件系統中存在釋放後使用弱點,攻擊者可利用此弱點來提升本機權限。

perf_group_detach 函式在呼叫 add_event_to_groups() 之前並未檢查事件的同級,但是 remove_on_exec 可以在從其群組卸離之前呼叫 list_del_event(),從而可能使用造成釋放後使用弱點的懸置指標。

我們建議升級為過往的 commit fd0815f632c24878e325821943edccc7fde947a2。(CVE-2023-2235)

在 Linux 核心 6.2.6 以及之前的所有版本中,net/tls/tls_main.c 中的 do_tls_getsockopt 缺少 lock_sock 呼叫,可引致爭用條件 (造成釋放後使用或 NULL 指標解除參照)。(CVE-2023-28466)

在 Linux 核心 6.2.8 及更低版本的 arch/x86/kvm/vmx/nested.c 中發現一個問題。x86_64 上的 nVMX 缺少 CR0 和 CR4 的一致性檢查。(CVE-2023-30456)

在 Linux 核心中,下列弱點已解決:

ftrace:修正索引為 0 時 lookup_rec() 中的無效位址存取 (CVE-2023-53075)

在 Linux 核心中,下列弱點已解決:

ext4:修正 ext4_xattr_delete_inode 中的任務懸置 (CVE-2023-53089)

在 Linux 核心中,下列弱點已解決:

ext4如果 s_journal_inum 在日誌記錄重播後有所變更則對其進行更新 (CVE-2023-53091)

在 Linux 核心中,下列弱點已解決:

drm/ttm修正 NULL 指標解除參照 (CVE-2023-53095)

在 Linux 核心中,下列弱點已解決:

ext4:修正 ext4_update_inline_data 中的警告 (CVE-2023-53100)

在 Linux 核心中,下列弱點已解決:

ext4:初始化 bootloader inode 時將 i_disksize 歸零 (CVE-2023-53101)

在 Linux 核心中,下列弱點已解決:

veth修正 XDP_REDIRECT 中的釋放後使用 (CVE-2023-53107)

在 Linux 核心中,下列弱點已解決:

net:tunnels:註釋 dev->needed_headroom 的無鎖定存取 (CVE-2023-53109)

在 Linux 核心中,下列弱點已解決:

PCIs390修正按函式熱插拔的 PCI 資源釋放後使用 (CVE-2023-53123)

在 Linux 核心中,下列弱點已解決:

SUNRPC修正伺服器關機洩漏 (CVE-2023-53131)

在 Linux 核心中,下列弱點已解決:

bpf、sockmap修正 tcp_bpf_recvmsg_parser() 中 len 為 0 時的無限迴圈錯誤 (CVE-2023-53133)

在 Linux 核心中,下列弱點已解決:

af_unix修正 OOB 支援中的結構 pid 洩漏 (CVE-2023-53136)

在 Linux 核心中,下列弱點已解決:

ext4修正移動目錄時可能發生的損毀問題 (CVE-2023-53137)

在 Linux 核心中,下列弱點已解決:

scsicore移除之前的 /proc/scsi/${proc_name} 目錄 (CVE-2023-53140)

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

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

解決方案

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

另請參閱

https://alas.aws.amazon.com//AL2023/ALAS2023-2023-148.html

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Plugin 詳細資訊

嚴重性: High

ID: 173854

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

版本: 1.4

類型: local

代理程式: unix

已發布: 2023/4/4

已更新: 2025/7/7

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

風險資訊

VPR

風險因素: Medium

分數: 6.7

CVSS v2

風險因素: Medium

基本分數: 6.8

時間性分數: 5

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

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

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: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.21-1.45, 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/3/30

弱點發布日期: 2023/3/16

參考資訊

CVE: CVE-2022-49932, CVE-2023-2235, CVE-2023-28466, CVE-2023-30456, CVE-2023-53075, CVE-2023-53089, CVE-2023-53091, CVE-2023-53095, CVE-2023-53100, CVE-2023-53101, CVE-2023-53107, CVE-2023-53109, CVE-2023-53123, CVE-2023-53131, CVE-2023-53133, CVE-2023-53136, CVE-2023-53137, CVE-2023-53140