Amazon Linux 2 : kernel (ALASKERNEL-5.10-2023-025)

high Nessus Plugin ID 170472

概要

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

說明

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

在 Linux 核心中發現一個歸類為「有問題」的弱點。這會影響 IPv4 處置程式元件中 net/ipv4/fib_semantics.c 檔案的 fib_nh_match 函式。操控此弱點可導致超出邊界讀取。攻擊者可從遠端發動攻擊。建議套用修補程式以修正此問題。已爲此弱點指派識別碼 VDB-210357。(CVE-2022-3435)

在 Linux 核心中發現一個弱點。目前已將其歸類為「有問題」。此弱點會影響 BPF 元件中 mm/gup.c 檔案的 follow_page_pte 函式。利用此弱點可導致爭用情形。攻擊者可在遠端執行此攻擊。建議套用修補程式以修正此問題。已爲此弱點指派識別碼 VDB-211921。(CVE-2022-3623)

來賓可透過 netback 觸發 NIC 介面重設/中止/損毀。來賓可透過傳送特定類型的封包,在 Linux 型網路後端觸發 NIC 介面重設/中止/損毀。Linux 網路堆疊的其餘部分似乎有一個 (未寫入的) 假設,即封包通訊協定標頭都包含在 SKB 的線性區段中,如果不是這樣,則某些 NIC 會出現不良行為。據報告,Cisco (enic) 和 Broadcom NetXtrem II BCM5780 (bnx2x) 會發生此問題,但其他 NIC/驅動程式也可能有此問題。如果前端傳送具有分割標頭的要求,netback 會將違反上述假設的要求轉送至網路核心,進而導致上述錯誤行為。(CVE-2022-3643)

來賓可在 Linux netback 驅動程式中觸發鎖死 [此 CNA 資訊記錄與多個 CVE 有關;
文字說明了哪些方面/弱點對應於哪個 CVE。] XSA-392 的修補程式引入了另一個問題,當嘗試釋放因 XSA-392 處理而丟棄的 SKB 時,可能會導致鎖死 (CVE-2022-42328)。此外,當因其他原因中斷套件時,如果在 xen-netback 驅動程式所連線的介面中,netpoll 處於作用中,則可能會發生相同的鎖死情況 (CVE-2022-42329)。(CVE-2022-42328)

來賓可在 Linux netback 驅動程式中觸發鎖死 [此 CNA 資訊記錄與多個 CVE 有關;
文字說明了哪些方面/弱點對應於哪個 CVE。] XSA-392 的修補程式引入了另一個問題,當嘗試釋放因 XSA-392 處理而丟棄的 SKB 時,可能會導致鎖死 (CVE-2022-42328)。此外,當因其他原因中斷套件時,如果在 xen-netback 驅動程式所連線的介面中,netpoll 處於作用中,則可能會發生相同的鎖死情況 (CVE-2022-42329)。(CVE-2022-42329)

在 Linux 核心的 SYSCTL 子系統中,在使用者變更特定核心參數和變數的方式中發現堆疊溢位缺陷。本機使用者可利用此缺陷造成系統當機,或可能提升自己的系統權限。(CVE-2022-4378)

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

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

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

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

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

ipv6:避免 ip6_fragment() 中的釋放後使用 (CVE-2022-48956)

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

xen-netfront:修正即時移轉後的 NULL sring (CVE-2022-48969)

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

af_unix:從 unix_diag_get_exact() 中的 in_skb 取得 user_ns。 (CVE-2022-48970)

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

mac802154:修正 ieee802154_if_add() 中遺漏的 INIT_LIST_HEAD (CVE-2022-48972)

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

can:af_can:修正 can_rcv_filter 中的 Null 指標解除參照弱點 (CVE-2022-48977)

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

HID:核心:修正 hid_report_raw_event 中的 shift-out-of-bounds (CVE-2022-48978)

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

drm/shmem-helper:移除放置在錯誤路徑中的 errant (CVE-2022-48981)

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

mm/gup:修正 dax 的 gup_pud_range() (CVE-2022-48986)

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

media:v4l2-dv-timings.c:修正過於嚴格的空白健全性測試 (CVE-2022-48987)

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

memcg:修正 memcg_write_event_control() 中可能的釋放後使用 (CVE-2022-48988)

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

mm/khugepaged:叫用 shmem/file 折疊路徑中的 MMU 通知程式 (CVE-2022-48991)

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

char:tpm:使用鎖定保護 tpm_pm_suspend (CVE-2022-48997)

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

ipv4:當 fib_info 包含 nh 參照時,處理刪除多重路徑路由的嘗試 (CVE-2022-48999)

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

ommu/vt-d:修正 has_external_pci() 中的 PCI 裝置 refcount 洩漏 (CVE-2022-49000)

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

iommu/vt-d:修正 dmar_dev_scope_init() 中的 PCI 裝置 refcount 洩漏 (CVE-2022-49002)

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

追踪:移除使用的動態事件時釋放緩衝區 (CVE-2022-49006)

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

nilfs2:修正 nilfs_palloc_commit_free_entry() 中的 NULL 指標解除參照 (CVE-2022-49007)

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

sctp:修正 sctp_stream_outq_migrate() 中的記憶體洩漏 (CVE-2022-49013)

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

net:tun:修正 tun_detach() 中的釋放後使用 (CVE-2022-49014)

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

net:hsr:修復潛在的釋放後使用問題 (CVE-2022-49015)

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

tipc:在 tipc_msg_validate 之後重新擷取 skb cb (CVE-2022-49017)

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

net:phy:在 probe() 失敗時修正 null-ptr-deref (CVE-2022-49021)

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

net/mlx5e:修正還原終止表格時的釋放後使用 (CVE-2022-49025)

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

iavf:修正 iavf_init_module() 中的錯誤處理 (CVE-2022-49027)

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

ixgbevf:修正 ixgbevf_init_module() 中的資源洩漏 (CVE-2022-49028)

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

libbpf:處理 ringbuf mmap 的大小溢位 (CVE-2022-49030)

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

btrfs:qgroup:修正 btrfs_qgroup_inherit() 中無效內容錯誤的 Sleep (CVE-2022-49033)

在 Linux 核心的 5.6 至 5.11 版 (含) 中,io_uring 子系統的 IORING_OP_CLOSE 作業存在檢查時間與使用時間不一致的問題,使得本機使用者可以將其特權提升為 root 特權。
此問題在 b5dba59e0cf7e2cc4d3b3b1ac5fe81ddf21959eb 中引入,然後在 9eac1904d3364254d622bf2c771c4f85cd435fc2 中修補,並在 788d0824269bef539fe31a785b1517882eafed93 中反向移植至穩定版。(CVE-2023-1295)

在 Linux 核心中 net/can/af_can.c 的 can 通訊協定中發現 Null 指標解除參照問題。
在 CAN 框架的接收路徑中,ml_priv 可能未初始化。本機使用者可利用此問題造成系統當機或造成拒絕服務。(CVE-2023-2166)

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

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

解決方案

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

另請參閱

https://alas.aws.amazon.com/AL2/ALASKERNEL-5.10-2023-025.html

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

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

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

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

https://alas.aws.amazon.com/cve/html/CVE-2022-4378.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-48956.html

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Plugin 詳細資訊

嚴重性: High

ID: 170472

檔案名稱: al2_ALASKERNEL-5_10-2023-025.nasl

版本: 1.11

類型: local

代理程式: unix

已發布: 2023/1/24

已更新: 2025/3/17

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

風險資訊

VPR

風險因素: Medium

分數: 6.7

CVSS v2

風險因素: High

基本分數: 7.1

時間性分數: 5.6

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

CVSS 評分資料來源: CVE-2022-3623

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-2022-49030

弱點資訊

CPE: p-cpe:/a:amazon:linux:kernel-livepatch-5.10.162-141.675, 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/1/18

弱點發布日期: 2022/10/20

參考資訊

CVE: CVE-2022-3435, CVE-2022-3623, CVE-2022-3643, CVE-2022-42328, CVE-2022-42329, CVE-2022-4378, CVE-2022-48946, CVE-2022-48949, CVE-2022-48956, CVE-2022-48969, CVE-2022-48970, CVE-2022-48972, CVE-2022-48977, CVE-2022-48978, CVE-2022-48981, CVE-2022-48986, CVE-2022-48987, CVE-2022-48988, CVE-2022-48991, CVE-2022-48997, CVE-2022-48999, CVE-2022-49000, CVE-2022-49002, CVE-2022-49006, CVE-2022-49007, CVE-2022-49013, CVE-2022-49014, CVE-2022-49015, CVE-2022-49017, CVE-2022-49021, CVE-2022-49025, CVE-2022-49027, CVE-2022-49028, CVE-2022-49030, CVE-2022-49033, CVE-2023-1295, CVE-2023-2166