Amazon Linux 2:核心 (ALAS-2022-1813)

high Nessus Plugin ID 163232

概要

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

說明

遠端主機上安裝的核心版本早於 4.14.285-215.501。因此,會受到 ALAS2-2022-1813 公告中所提及的多個弱點影響。

在 Linux 核心的 drivers/scsi/scsi_ioctl.c 的 scsi_ioctl 函式中發現一個核心資訊洩漏缺陷。此缺陷允許具有特殊使用者權限 (CAP_SYS_ADMIN 或 CAP_SYS_RAWIO) 的本機攻擊者破壞機密性。(CVE-2022-0494)

在 NFS over RDMA 中,RPCRDMA_HDRLEN_MIN (7) 的 net/sunrpc/xprtrdma/rpc_rdma.c 函式 (在 rpcrdma_max_call_header_size、rpcrdma_max_reply_header_size 中) 內發現資訊洩漏缺陷,具有一般使用者權限的攻擊者可利用此缺陷洩漏核心資訊。(CVE-2022-0812)

由於表格 perturb 大小偏小,因此在 Linux 核心的 net/ipv4/tcp.c 函式內的 TCP 來源連接埠產生演算法中發現記憶體洩漏缺陷。攻擊者可利用此缺陷洩漏資訊,並可能造成拒絕服務。(CVE-2022-1012)

在 Linux 核心檔案系統子元件的 fs/ext4/namei.c:dx_insert_block() 中發現一個釋放後使用缺陷。具有使用者特權的本機攻擊者可藉由此缺陷造成拒絕服務。
(CVE-2022-1184)

在 Linux 核心的 Netfilter 子系統中發現 net/netfilter/nf_tables_api.c 存在釋放後使用弱點。具有使用者存取權的本機攻擊者可利用此缺陷造成特權提升問題。(CVE-2022-1966)

在 hw 中發現一個缺陷。在某些 Intel(r) 處理器中,多核心共用緩衝區若清理不完全,經驗證的使用者則可透過本機存取造成資訊洩漏。(CVE-2022-21123)

在 hw 中發現一個缺陷。在某些 Intel(r) 處理器中,微架構填補緩衝區若清理不完全,經驗證的使用者則可透過本機存取造成資訊洩漏。(CVE-2022-21125)

在 hw 中發現一個缺陷。對於某些 Intel(r) 處理器,特定的特殊暫存器寫入作業若清理不完全,經驗證的使用者則可透過本機存取造成資訊洩漏。
(CVE-2022-21166)

到 5.18.1 的 Linux 核心中,net/netfilter/nf_tables_api.c 允許本機使用者 (能夠建立使用者/網路名稱空間) 將特權提升至 Root,因為不正確的 NFT_STATEFUL_EXPR 檢查會導致釋放後使用。(CVE-2022-32250)

5.17.9 之前的 Linux 核心允許 TCP 伺服器透過觀察所使用的來源連接埠來識別用戶端。(CVE-2022-32296)

在 powerpc 32 位元平台上的 5.18.3 版及之前版本的 Linux 核心中發現一個問題。存取浮點暫存器時,ptrace PEEKUSER 和 POKEUSER (即 PEEKUSR 和 POKEUSR) 中會發生緩衝區溢位。(CVE-2022-32981)

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

drm/radeon: 修復可能發生的 NULL 指標解除參照 (CVE-2022-48710)

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

exec: 當 argv 為空時,強制傳入單一空白字串 (CVE-2022-49264)

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

nbd:修正中斷裝置連線時的 io 懸置 (CVE-2022-49297)

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

nbd: 修復 nbd_alloc_config() 和模組移除之間的爭用問題 (CVE-2022-49300)

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

tty: synclink_gt: 修復 slgt_clean() 中的 NULL 指標解除參照錯誤 (CVE-2022-49307)

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

extcon: 將 extcon 裝置延後至設定驅動程式資料後再建立 (CVE-2022-49308)

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

xprtrdma: 當 bc_serv 為 NULL 時,所有呼叫皆視為非 bcall (CVE-2022-49321)

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

tracing: 修復 RT 核心中,從無效背景資訊呼叫休眠函式的問題 (CVE-2022-49322)

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

tcp: 修復 tcp_mtup_probe_success 和 snd_cwnd 的錯誤設定 (CVE-2022-49330)

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

net: ipv6: 取消匯出標註為 __init 的 seg6_hmac_init() 函式 (CVE-2022-49339)

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

ext4: 避免 h-tree 目錄中出現循環結構 (CVE-2022-49343)

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

net:xfrm:取消匯出 __init-annotated xfrm4_protocol_init() (CVE-2022-49345)

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

ext4:修正 ext4_writepages 中的 bug_on (CVE-2022-49347)

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

ext4:修正 ext4_rename_dir_prepare 中的釋放後使用 (CVE-2022-49349)

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

net: mdio: 取消匯出標註為 __init 的 mdio_bus_init() 函式 (CVE-2022-49350)

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

firmware: dmi-sysfs: 修復 dmi_sysfs_register_handle 中的記憶體流失問題 (CVE-2022-49370)

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

tcp: 現可從處理程序背景資訊呼叫 tcp_rtx_synack() (CVE-2022-49372)

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

ubi:ubi_create_volume:修復磁碟區建立失敗時的釋放後使用問題 (CVE-2022-49388)

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

usb: usbip: 修復 stub_probe() 中的參照計數洩漏問題 (CVE-2022-49389)

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

dlm:修正 plock 無效讀取 (CVE-2022-49407)

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

video: fbdevclcdfb: 修復 clcdfb_of_vram_setup 中的參照計數洩漏問題 (CVE-2022-49421)

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

PCI: 避免 pci_dev_lock() 與 sriov_numvfs_store() 發生 AB/BA 鎖死問題 (CVE-2022-49434)

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

tty: 修復在 tty_port->lock 下呼叫 printk() 造成的鎖死問題 (CVE-2022-49441)

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

drivers/base/node.c: 修復 compaction sysfs 檔案的資源洩漏問題 (CVE-2022-49442)

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

rxrpc: 修復 listen() 將預先配置環門檻設定過高的問題 (CVE-2022-49450)

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

net: phy: micrel: 允許在未提供 .driver_data 的情況下進行探查 (CVE-2022-49472)

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

nvme-pci: 修復 nvme_alloc_admin_tags 中的 NULL 指標解除參照錯誤 (CVE-2022-49492)

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

drm/virtio:修正 virtio_gpu_conn_get_modes 中的 NULL 指標解除參照 (CVE-2022-49532)

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

zsmalloc: 修復非同步 zspage 釋放和頁面移轉之間的爭用問題 (CVE-2022-49554)

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

netfilter:conntrack:插入後重新擷取 conntrack (CVE-2022-49561)

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

ext4: 新增保留 GDT 區塊的檢查機制 (CVE-2022-49707)

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

ext4:修正 bug_on ext4_mb_use_inode_pa (CVE-2022-49708)

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

i40e: 修復 setup_tx_descriptors 中的呼叫追蹤錯誤 (CVE-2022-49725)

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

ipv6:修正 l2tp_ip6_sendmsg 中的帶正負號整數溢位 (CVE-2022-49727)

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

ata:libata-core:修正 ata_host_alloc_pinfo() 中的 NULL 指標解除參照 (CVE-2022-49731)

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

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

解決方案

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

另請參閱

https://alas.aws.amazon.com/AL2/ALAS-2022-1813.html

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Plugin 詳細資訊

嚴重性: High

ID: 163232

檔案名稱: al2_ALAS-2022-1813.nasl

版本: 1.15

類型: local

代理程式: unix

已發布: 2022/7/15

已更新: 2025/5/22

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

風險資訊

VPR

風險因素: Critical

分數: 9.4

CVSS v2

風險因素: High

基本分數: 7.2

時間性分數: 6.3

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

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

CVSS v3

風險因素: High

基本分數: 8.2

時間性分數: 7.8

媒介: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H

時間媒介: CVSS:3.0/E:H/RL:O/RC:C

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

弱點資訊

CPE: p-cpe:/a:amazon:linux:perf, p-cpe:/a:amazon:linux:perf-debuginfo, p-cpe:/a:amazon:linux:kernel-livepatch-4.14.285-215.501, 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: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/7/6

弱點發布日期: 2022/3/25

參考資訊

CVE: CVE-2022-0494, CVE-2022-0812, CVE-2022-1012, CVE-2022-1184, CVE-2022-1966, CVE-2022-21123, CVE-2022-21125, CVE-2022-21166, CVE-2022-32250, CVE-2022-32296, CVE-2022-32981, CVE-2022-48710, CVE-2022-49264, CVE-2022-49297, CVE-2022-49300, CVE-2022-49307, CVE-2022-49308, CVE-2022-49321, CVE-2022-49322, CVE-2022-49330, CVE-2022-49339, CVE-2022-49343, CVE-2022-49345, CVE-2022-49347, CVE-2022-49349, CVE-2022-49350, CVE-2022-49370, CVE-2022-49372, CVE-2022-49388, CVE-2022-49389, CVE-2022-49407, CVE-2022-49421, CVE-2022-49434, CVE-2022-49441, CVE-2022-49442, CVE-2022-49450, CVE-2022-49472, CVE-2022-49492, CVE-2022-49532, CVE-2022-49554, CVE-2022-49561, CVE-2022-49707, CVE-2022-49708, CVE-2022-49725, CVE-2022-49727, CVE-2022-49731