Amazon Linux 2:kernel (ALASKERNEL-5.4-2022-006)

high Nessus Plugin ID 160429

概要

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

說明

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

在 Linux 核心中發現一個缺陷。此缺陷允許攻擊者透過觸發大型 SEV VM 損毀 (需要取消註冊許多加密區域) 來造成拒絕服務 (軟鎖定)。此弱點對系統可用性威脅最大。(CVE-2020-36311)

在 5.12.13 之前的 Linux 核心的 kernel/bpf/verifier.c 中,分支可能會發生錯誤預測 (例如,因類型混淆所致),因此非特權 BPF 程式可透過旁路攻擊讀取任意記憶體位置,即 CID -9183671af6db。(CVE-2021-33624)

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

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

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

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

在 Linux 核心中發現一個缺陷,即它會錯誤計算陰影頁面的存取權限。此問題會導致遺漏來賓保護頁面錯誤。(CVE-2021-38198)

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

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

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

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

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)

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

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

解決方案

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

另請參閱

https://alas.aws.amazon.com/AL2/ALASKERNEL-5.4-2022-006.html

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

https://alas.aws.amazon.com/cve/html/CVE-2020-36311.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-33624.html

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

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

https://alas.aws.amazon.com/cve/html/CVE-2021-38198.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-47301.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-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-47353.html

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

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

Plugin 詳細資訊

嚴重性: High

ID: 160429

檔案名稱: al2_ALASKERNEL-5_4-2022-006.nasl

版本: 1.22

類型: 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-47341

弱點資訊

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

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

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

參考資訊

CVE: CVE-2020-36311, CVE-2021-33624, CVE-2021-35477, CVE-2021-3655, CVE-2021-3679, CVE-2021-38160, CVE-2021-38198, CVE-2021-38199, CVE-2021-47289, CVE-2021-47291, CVE-2021-47295, CVE-2021-47301, CVE-2021-47305, CVE-2021-47307, CVE-2021-47308, CVE-2021-47309, CVE-2021-47311, CVE-2021-47319, CVE-2021-47320, 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-47353, CVE-2021-47354, CVE-2023-28772