Amazon Linux 2:kernel (ALASKERNEL-5.15-2023-019)

high Nessus Plugin ID 176754

概要

遠端 Amazon Linux 2 主機缺少安全性更新。

說明

遠端主機上安裝的核心版本早於 5.15.104-63.140。因此,會受到 ALAS2KERNEL-5.15-2023-019 公告中所提及的多個弱點影響。

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

ext4在 ext4_mb_clear_bb() 中使用之前必須驗證區塊範圍 (CVE-2022-50021)

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

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

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

在 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 核心中,下列弱點已解決:

drm/shmem-helper移除放置在錯誤路徑中的另一個錯誤 (CVE-2023-53084)

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

drm/i915/active修正將非閒置障礙物誤用為隔離追踪器的問題 (CVE-2023-53087)

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

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

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

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

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

互連釋放節點時修正記憶體洩漏 (CVE-2023-53096)

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

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

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

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

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

連結如果非 eth 裝置從屬失敗則還原連結的 IFF_SLAVE 旗標 (CVE-2023-53103)

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

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

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

loop修正釋放後使用問題 (CVE-2023-53111)

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

fs關閉檔案描述符號時防止超出邊界陣列推測 (CVE-2023-53117)

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

tcp可從處理程序內容呼叫 tcp_make_synack() (CVE-2023-53121)

在 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)

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

ila不在 ila_xlat_nl_cmd_get_mapping() 中產生空白訊息 (CVE-2023-53141)

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

ext4修正 1k 區塊檔案系統上的另一個差一 fsmap 錯誤 (CVE-2023-53143)

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

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

解決方案

執行「yum update kernel」以更新系統。

另請參閱

https://alas.aws.amazon.com//AL2/ALAS2KERNEL-5.15-2023-019.html

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

https://explore.alas.aws.amazon.com/CVE-2022-50021.html

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

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

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

https://explore.alas.aws.amazon.com/CVE-2023-53084.html

https://explore.alas.aws.amazon.com/CVE-2023-53087.html

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

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

https://explore.alas.aws.amazon.com/CVE-2023-53096.html

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

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

https://explore.alas.aws.amazon.com/CVE-2023-53103.html

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

https://explore.alas.aws.amazon.com/CVE-2023-53111.html

https://explore.alas.aws.amazon.com/CVE-2023-53117.html

https://explore.alas.aws.amazon.com/CVE-2023-53121.html

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

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

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

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

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

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

https://explore.alas.aws.amazon.com/CVE-2023-53141.html

https://explore.alas.aws.amazon.com/CVE-2023-53143.html

Plugin 詳細資訊

嚴重性: High

ID: 176754

檔案名稱: al2_ALASKERNEL-5_15-2023-019.nasl

版本: 1.5

類型: local

代理程式: unix

已發布: 2023/6/6

已更新: 2025/8/4

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

風險資訊

VPR

風險因素: Medium

分數: 5.9

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:kernel-livepatch-5.15.104-63.140, p-cpe:/a:amazon:linux:perf, p-cpe:/a:amazon:linux:bpftool, p-cpe:/a:amazon:linux:perf-debuginfo, p-cpe:/a:amazon:linux:kernel-tools-debuginfo, p-cpe:/a:amazon:linux:kernel-debuginfo-common-aarch64, p-cpe:/a:amazon:linux:kernel-tools, p-cpe:/a:amazon:linux:kernel-devel, p-cpe:/a:amazon:linux:python-perf-debuginfo, p-cpe:/a:amazon:linux:kernel, p-cpe:/a:amazon:linux:kernel-debuginfo, p-cpe:/a:amazon:linux:kernel-headers, cpe:/o:amazon:linux:2, p-cpe:/a:amazon:linux:bpftool-debuginfo, p-cpe:/a:amazon:linux:kernel-tools-devel, p-cpe:/a:amazon:linux:kernel-debuginfo-common-x86_64, p-cpe:/a:amazon:linux:python-perf

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

可輕鬆利用: No known exploits are available

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

弱點發布日期: 2023/5/1

參考資訊

CVE: CVE-2022-50021, CVE-2023-2235, CVE-2023-30456, CVE-2023-53075, CVE-2023-53084, CVE-2023-53087, CVE-2023-53089, CVE-2023-53091, CVE-2023-53096, CVE-2023-53100, CVE-2023-53101, CVE-2023-53103, CVE-2023-53109, CVE-2023-53111, CVE-2023-53117, CVE-2023-53121, CVE-2023-53123, CVE-2023-53131, CVE-2023-53133, CVE-2023-53136, CVE-2023-53137, CVE-2023-53140, CVE-2023-53141, CVE-2023-53143