Amazon Linux 2:kernel (ALASKERNEL-5.4-2023-042)

high Nessus Plugin ID 171848

概要

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

說明

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

在 Linux 核心的第 2 層通道通訊協定 (L2TP) 中發現一個缺陷。清除 sk_user_data 時遺漏鎖定可導致爭用條件和 NULL 指標解除參照弱點。本機使用者可利用此缺陷造成系統當機,進而引發拒絕服務。(CVE-2022-4129)

在 6.1.6 版之前的 Linux 核心中,流量控制子系統中存在 NULL 指標解除參照錯誤,允許無權限的使用者透過以 tc qdisc 和 tc class 命令設定的特製流量控制組態,觸發拒絕服務 (系統當機)。這會影響 net/sched/sch_api.c 中的 qdisc_graft。(CVE-2022-47929)

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

udf:修正間接範圍邊界的預先配置捨棄 (CVE-2022-48946)

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

igb:初始化信箱訊息以進行 VF 重設 (CVE-2022-48949)

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

perf/x86/amd修正 int 移位時可能發生的整數溢位 (CVE-2022-49748)

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

dmaengine:修正 dma_chan_get() 中 client_count 的雙重遞增 (CVE-2022-49753)

根據使用 STIBP 作為緩解措施的核心 API 中的奇怪模式發現,Linux 核心未正確緩解 SMT 攻擊,處理程序在系統呼叫後的短暫期間仍然暴露在風險之下。核心也不會在系統呼叫期間立即發出 IBPB。 (CVE-2023-0045)

在 Linux 核心的 Network 子元件中,在 net/ipv6/raw.c 的 rawv6_push_pending_frames 中發現一個 NULL 指標解除參照缺陷。此缺陷會導致系統當機。(CVE-2023-0394)

偵測到一些可遭惡意利用的小工具,這些小工具可透過側通道 (如 MDS) 以及針對 spectre-v1 的 usercopy 函式強化不足,來洩漏私密記憶體。(CVE-2023-0459)

Linux 核心中有一個釋放後使用弱點,可遭惡意利用來提升本機權限。必須設定核心組態旗標 CONFIG_TLS 或 CONFIG_XFRM_ESPINTCP,才能達到弱點,但該作業不需要任何權限。

struct inet_connection_sock 的 icsk_ulp_data 有一個釋放後使用錯誤。

啟用 CONFIG_TLS 時,使用者可在已連線的 tcp 通訊端上安裝 tls 內容 (struct tls_context)。
如果此通訊端中斷連線並重新用作接聽程式,則不會清除內容。如果從接聽程式建立新的通訊端,則內容會繼承並受到影響。

setsockopt TCP_ULP 作業不需要任何權限。

建議升級過去的提交 2c02d41d71f90a5168391b6a5f2954112ba2307c (CVE-2023-0461)

在 Linux 核心的人體介面裝置 (HID) 子系統中,使用者插入惡意 USB 裝置的方式中存在記憶體損毀缺陷。本機使用者可利用此缺陷造成系統當機,或可能提升自己的系統權限。(CVE-2023-1073)

在 Linux 6.1.4 及其之前的所有版本中,由於類型混淆 (非負數有時可指示 TC_ACT_SHOT 條件,而非有效的分類結果),net/sched/sch_cbq.c 中的 cbq_classify 允許攻擊者造成系統拒絕服務。(CVE-2023-23454)

在 Linux 核心 6.1.4 及其之前的所有版本中,由於類型混淆 (非負數有時可指示 TC_ACT_SHOT 條件,而非有效的分類結果),net/sched/sch_atm.c 中的 atm_tc_enqueue 允許攻擊者造成系統拒絕服務。(CVE-2023-23455)

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

net/sched:act_mpls:修正屬性驗證失敗期間的警告 (CVE-2023-52906)

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

bpf略過 send_signal_common() 中 pid=1 的工作 (CVE-2023-52992)

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

x86/i8259使用 IRQ_LEVEL 標記舊版 PIC 中斷 (CVE-2023-52993)

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

ipv4防止 fib_metrics_match() 中潛在的 spectre v1 小工具 (CVE-2023-52996)

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

ipv4防止 ip_metrics_convert() 中潛在的 spectre v1 小工具 (CVE-2023-52997)

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

net修正 netns ops 註冊錯誤路徑中的 UaF (CVE-2023-52999)

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

netlink防止潛在的 spectre v1 小工具 (CVE-2023-53000)

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

cifs修正因重新連線時未清除的 server->smbd_conn 導致的 oops (CVE-2023-53006)

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

追踪確保 trace_printk() 可以在使用時立即輸出 (CVE-2023-53007)

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

HIDbetop檢查輸出報告的形狀 (CVE-2023-53015)

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

netmdio驗證 mdiobus_get_phy() 中的參數 addr (CVE-2023-53019)

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

net/schedsch_taprio修正可能的釋放後使用 (CVE-2023-53021)

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

bpf修正推測儲存繞過緩和措施不足所導致的指標洩漏 (CVE-2023-53024)

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

RDMA/core修正 ib 區塊迭代器計數器溢位 (CVE-2023-53026)

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

netfilteripset修正 bitmap_ip_create() 函式中擴大前的溢位。 (CVE-2023-53032)

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

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

解決方案

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

另請參閱

https://alas.aws.amazon.com/AL2/ALASKERNEL-5.4-2023-042.html

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Plugin 詳細資訊

嚴重性: High

ID: 171848

檔案名稱: al2_ALASKERNEL-5_4-2023-042.nasl

版本: 1.11

類型: local

代理程式: unix

已發布: 2023/2/23

已更新: 2025/5/23

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

風險資訊

VPR

風險因素: Medium

分數: 6.7

CVSS v2

風險因素: High

基本分數: 7.8

時間性分數: 6.1

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

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

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

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

弱點資訊

CPE: 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

可被惡意程式利用: true

可輕鬆利用: Exploits are available

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

弱點發布日期: 2022/11/28

參考資訊

CVE: CVE-2022-4129, CVE-2022-47929, CVE-2022-48946, CVE-2022-48949, CVE-2022-49748, CVE-2022-49753, CVE-2023-0045, CVE-2023-0394, CVE-2023-0459, CVE-2023-0461, CVE-2023-1073, CVE-2023-23454, CVE-2023-23455, CVE-2023-52906, CVE-2023-52992, CVE-2023-52993, CVE-2023-52996, CVE-2023-52997, CVE-2023-52999, CVE-2023-53000, CVE-2023-53006, CVE-2023-53007, CVE-2023-53015, CVE-2023-53019, CVE-2023-53021, CVE-2023-53024, CVE-2023-53026, CVE-2023-53032