Amazon Linux 2:kernel (ALASKERNEL-5.10-2022-004)

high Nessus Plugin ID 160434

概要

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

說明

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

在 Linux 核心中發現一個缺陷,其中 BPF 程式可透過推測型儲存區繞過旁路攻擊,從核心記憶體取得敏感資訊。當保護機制忽略 BPF 堆疊上存在未初始化的記憶體位置的可能性時,就會發生此問題。此弱點對機密性的威脅最大。(CVE-2021-34556)

在 Linux 核心中發現一個缺陷,其中擁有特權的 BPF 程式可透過 eBPF 子系統中的推測型儲存區繞過旁路攻擊,從核心記憶體取得敏感資訊。(CVE-2021-35477)

在 Linux 核心中發現一個弱點。缺少對傳入 SCTP 封包的大小驗證,可能允許核心讀取未初始化的記憶體。(CVE-2021-3655)

在 Linux 核心的追蹤模組功能中,發現使用者追蹤環形緩衝區的特定方式中缺少 CPU 資源。僅取得特權的本機使用者 (藉由 CAP_SYS_ADMIN 功能 ) 可利用此缺陷來耗盡資源,進而觸發拒絕服務。(CVE-2021-3679)

在 Linux 核心的 USB 高速行動裝置功能中,發現使用者卸離 USB 裝置的方式中存在釋放後使用缺陷。本機使用者可利用此缺陷來損毀系統或提高自己的系統權限。(CVE-2021-37159)

**有爭議** 在 Linux 核心 5.13.4 之前版本的 drivers/char/virtio_console.c 中,未受信任的裝置提供超出緩衝區大小的 buf->len 值時可觸發資料損毀或丟失。注意:
廠商指出,上述資料損毀在現有的所有使用案例中都不是弱點; 新增長度驗證只是為了在主機 OS 行為異常時保持穩健。
(CVE-2021-38160)

在 Linux 核心的 NFS4 子系統中,發現掛載懸置中存在缺陷,在將資料從一個伺服器移轉至另一個伺服器期間 (在主幹偵測期間),無法存取遠端伺服器。遠端 NFS4 伺服器 (如果用戶端已連線) 可利用此缺陷來耗盡資源,進而觸發拒絕服務。此弱點對系統可用性威脅最大。
(CVE-2021-38199)

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

ACPI修正 NULL 指標解除參照 (CVE-2021-47289)

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

ipv6: 修復 fib6_nh_flush_exceptions 中另一個的 Slab 越界問題 (CVE-2021-47291)

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

net:sched:修正 tcindex_partial_destroy_work 中的記憶體洩漏 (CVE-2021-47295)

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

bpf、sockmap修正不太可能發生的錯誤情況下的潛在記憶體洩漏 (CVE-2021-47298)

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

xdp、net: 修復 bpf_xdp_link_release 中的釋放後使用問題 (CVE-2021-47299)

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

bpf: 修復 jit 失敗時解譯器的 tail_call_reachable 拒絕 (CVE-2021-47300)

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

igb:修正重設期間的釋放後使用錯誤 (CVE-2021-47301)

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

bpf:正確追踪 subprog poke 描述符號並修正釋放後使用 (CVE-2021-47303)

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

tcp將 tcp_init_transfer() 修正為不重設 icsk_ca_initialized (CVE-2021-47304)

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

dma-buf/sync_file合併失敗時不洩漏隔離 (CVE-2021-47305)

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

cifs防止 cifs_compose_mount_options() 中發生 NULL 解除參照 (CVE-2021-47307)

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

scsilibfc修正陣列索引超出邊界例外狀況 (CVE-2021-47308)

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

net:從 skb_tunnel_info() 傳回前驗證 lwtstate->data (CVE-2021-47309)

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

net:qcom/emac:修復 emac_remove 中的 UAF 問題 (CVE-2021-47311)

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

virtio-blk修正暫停/恢復程序間的記憶體洩漏 (CVE-2021-47319)

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

nfs修正 posix_acl_create() 的 acl 記憶體洩漏 (CVE-2021-47320)

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

NFSv4: 修復執行 O_DIRECT 時 pnfs_mark_request_commit() 中的 Oops 問題 (CVE-2021-47322)

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

iommu/arm-smmu: 修復位址轉譯中的 arm_smmu_device 參照計數洩漏問題 (CVE-2021-47325)

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

iommu/arm-smmu: arm_smmu_rpm_get 失敗時,修復 arm_smmu_device refcount 洩漏 (CVE-2021-47327)

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

scsi: iscsi: 修復重設期間的 conn 釋放後使用 (CVE-2021-47328)

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

scsi: megaraid_sas: 修復探查失敗時的資源洩漏 (CVE-2021-47329)

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

fbmem: 不刪除仍在使用中的模式 (CVE-2021-47338)

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

jfs修正 diFree 中的 GPF (CVE-2021-47340)

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

KVM:mmio:修正 kvm_vm_ioctl_unregister_coalesced_mmio 中的釋放後使用讀取 (CVE-2021-47341)

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

dm btree 移除僅在移除成功時指派 new_root (CVE-2021-47343)

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

RDMA/cma修正 rdma_resolve_route() 記憶體洩漏 (CVE-2021-47345)

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

virtio-net新增已使用長度的驗證 (CVE-2021-47352)

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

udf修正 udf_symlink 函式中的 NULL 指標解除參照 (CVE-2021-47353)

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

drm/sched: 避免資料損毀 (CVE-2021-47354)

在 5.13.3 之前的 Linux 核心中發現一個問題。lib/seq_buf.c 存在 seq_buf_putmem_hex 緩衝區溢位問題。(CVE-2023-28772)

在 Linux 核心的記憶體管理子系統中發現一個缺陷。在此缺陷中,A 工作會結束並釋放 vma (vm_area_struct) 中的 2MB 頁面,並命中參照 pmd_t x 的 pfn_swap_entry_to_page() 中的 BUG 陳述式。這可能允許本機使用者造成 Linux 核心損毀。(CVE-2023-4732)

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

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

解決方案

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

另請參閱

https://alas.aws.amazon.com/AL2/ALASKERNEL-5.10-2022-004.html

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

https://alas.aws.amazon.com/cve/html/CVE-2021-3655.html

https://alas.aws.amazon.com/cve/html/CVE-2021-3679.html

https://alas.aws.amazon.com/cve/html/CVE-2021-34556.html

https://alas.aws.amazon.com/cve/html/CVE-2021-35477.html

https://alas.aws.amazon.com/cve/html/CVE-2021-37159.html

https://alas.aws.amazon.com/cve/html/CVE-2021-38160.html

https://alas.aws.amazon.com/cve/html/CVE-2021-38199.html

https://alas.aws.amazon.com/cve/html/CVE-2021-47289.html

https://alas.aws.amazon.com/cve/html/CVE-2021-47291.html

https://alas.aws.amazon.com/cve/html/CVE-2021-47295.html

https://alas.aws.amazon.com/cve/html/CVE-2021-47298.html

https://alas.aws.amazon.com/cve/html/CVE-2021-47299.html

https://alas.aws.amazon.com/cve/html/CVE-2021-47300.html

https://alas.aws.amazon.com/cve/html/CVE-2021-47301.html

https://alas.aws.amazon.com/cve/html/CVE-2021-47303.html

https://alas.aws.amazon.com/cve/html/CVE-2021-47304.html

https://alas.aws.amazon.com/cve/html/CVE-2021-47305.html

https://alas.aws.amazon.com/cve/html/CVE-2021-47307.html

https://alas.aws.amazon.com/cve/html/CVE-2021-47308.html

https://alas.aws.amazon.com/cve/html/CVE-2021-47309.html

https://alas.aws.amazon.com/cve/html/CVE-2021-47311.html

https://alas.aws.amazon.com/cve/html/CVE-2021-47319.html

https://alas.aws.amazon.com/cve/html/CVE-2021-47320.html

https://alas.aws.amazon.com/cve/html/CVE-2021-47322.html

https://alas.aws.amazon.com/cve/html/CVE-2021-47325.html

https://alas.aws.amazon.com/cve/html/CVE-2021-47327.html

https://alas.aws.amazon.com/cve/html/CVE-2021-47328.html

https://alas.aws.amazon.com/cve/html/CVE-2021-47329.html

https://alas.aws.amazon.com/cve/html/CVE-2021-47338.html

https://alas.aws.amazon.com/cve/html/CVE-2021-47340.html

https://alas.aws.amazon.com/cve/html/CVE-2021-47341.html

https://alas.aws.amazon.com/cve/html/CVE-2021-47343.html

https://alas.aws.amazon.com/cve/html/CVE-2021-47345.html

https://alas.aws.amazon.com/cve/html/CVE-2021-47352.html

https://alas.aws.amazon.com/cve/html/CVE-2021-47353.html

https://alas.aws.amazon.com/cve/html/CVE-2021-47354.html

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

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

Plugin 詳細資訊

嚴重性: High

ID: 160434

檔案名稱: al2_ALASKERNEL-5_10-2022-004.nasl

版本: 1.21

類型: local

代理程式: unix

已發布: 2022/5/2

已更新: 2025/5/23

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

風險資訊

VPR

風險因素: Medium

分數: 6.7

CVSS v2

風險因素: High

基本分數: 7.2

時間性分數: 5.6

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

CVSS 評分資料來源: CVE-2021-38160

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-2021-47352

弱點資訊

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-livepatch-5.10.59-52.142, 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

修補程式發佈日期: 2022/1/20

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

參考資訊

CVE: CVE-2021-34556, CVE-2021-35477, CVE-2021-3655, CVE-2021-3679, CVE-2021-37159, CVE-2021-38160, CVE-2021-38199, CVE-2021-47289, CVE-2021-47291, CVE-2021-47295, CVE-2021-47298, CVE-2021-47299, CVE-2021-47300, CVE-2021-47301, CVE-2021-47303, CVE-2021-47304, CVE-2021-47305, CVE-2021-47307, CVE-2021-47308, CVE-2021-47309, CVE-2021-47311, CVE-2021-47319, CVE-2021-47320, CVE-2021-47322, CVE-2021-47325, CVE-2021-47327, CVE-2021-47328, CVE-2021-47329, CVE-2021-47338, CVE-2021-47340, CVE-2021-47341, CVE-2021-47343, CVE-2021-47345, CVE-2021-47352, CVE-2021-47353, CVE-2021-47354, CVE-2023-28772, CVE-2023-4732