Amazon Linux 2核心 --advisory ALAS2KERNEL-5。10-2023-026 (ALASKERNEL-5.10-2023-026)

high Nessus Plugin ID 171216

概要

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

說明

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

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

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

efi修正 init 錯誤路徑中的 NULL 解除參照 (CVE-2022-48879)

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

ixgbe修正 pci 裝置 refcount 洩漏 (CVE-2022-48896)

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

drm/virtio修正 GEM 處置程式建立 UAF (CVE-2022-48899)

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

rtc:cmos:修正事件處置程式註冊順序問題 (CVE-2022-48953)

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

driversnetqlcnic修正 qlcnic_sriov_init() 中的潛在記憶體洩漏 (CVE-2022-50242)

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

Regulator核心處理 boot-on 時修正 use_count 洩漏 (CVE-2022-50250)

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

mmcvub300修正 mmc_add_host() 的傳回值檢查 (CVE-2022-50251)

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

igb除非配置新的向量否則不釋放 q_vector (CVE-2022-50252)

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

bpf確保重新導向至通道裝置時skb->len != 0 (CVE-2022-50253)

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

bpf、sockmap修正 sock_map_free() 中的爭用情形 (CVE-2022-50259)

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

drm/radeon新增遺漏的 acpi_put_table() 以修正記憶體洩漏 (CVE-2022-50275)

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

power:supply修正 power_supply_get_battery_info 中的 null 指標解除參照 (CVE-2022-50276)

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

PNP修正 pnp_alloc_dev() 中的名稱記憶體洩漏 (CVE-2022-50278)

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

pnode在來源的對等端終止 (CVE-2022-50280)

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

chardev修正 cdev_device_add() 中的錯誤處理 (CVE-2022-50282)

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

ext4修正 ext4_clu_mapped 中針對 bigalloc + 內嵌的延遲配置錯誤 (CVE-2022-50286)

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

qlcnic發生 qlcnic_dcb_enable() 失敗時防止 ->dcb 釋放後使用 (CVE-2022-50288)

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

perf/x86/intel/uncore修正 hswep_has_limit_sbox() 中的參照計數洩漏 (CVE-2022-50318)

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

fsjfs修正 dbDiscardAG 中的移位超出邊界 (CVE-2022-50333)

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

hugetlbfs修正 hugetlbfs_parse_param() 中的 null-ptr-deref (CVE-2022-50334)

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

cifs修正加密期間的 oops (CVE-2022-50341)

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

Rapidio修正 rio_add_device() 失敗時可能發生的名稱洩漏 (CVE-2022-50343)

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

ext4「ext4_rename」中「old.inode」的初始化配額 (CVE-2022-50346)

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

misctifm修正 tifm_7xx1_switch_media() 中的潛在記憶體洩漏 (CVE-2022-50349)

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

skbuff考量提取作業期間的結尾調整 (CVE-2022-50365)

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

md修正 mempool_free 中的當機 (CVE-2022-50381)

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

padata執行 ->parallel() 時一律停用 BH (CVE-2022-50382)

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

NFS修正 nfs_d_automount() 中的 Oops (CVE-2022-50385)

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

nvme修正啟用 blktrace 時排清要求造成的多重路徑損毀 (CVE-2022-50388)

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

tpmtpm_crb新增遺漏的 acpi_put_table() 以修正記憶體洩漏 (CVE-2022-50389)

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

完整性修正 keyring 配置錯誤路徑中的記憶體洩漏 (CVE-2022-50395)

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

netsched修正 tcindex_set_parms 中的記憶體洩漏 (CVE-2022-50396)

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

nfsd在 NFSv4.1 下修正 rpc_create 失敗時的雙重 svc_xprt_put (CVE-2022-50401)

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

drivers/md/md-bitmap檢查 md_bitmap_get_counter() 的傳回值 (CVE-2022-50402)

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

net/tunnel等到所有 sk_user_data 讀取程式完成後再釋放 sock (CVE-2022-50405)

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

ACPICA修正 acpi_ds_call_control_method() 中的錯誤碼路徑 (CVE-2022-50411)

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

scsi: fcoe修正當 fcoe_if_init() 失敗時未解除附加的傳輸 (CVE-2022-50414)

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

在 Linux 核心的 Netfilter 子系統中發現緩衝區溢位弱點。此問題可引致洩漏堆疊和堆積位址洩漏,並允許攻擊者透過執行任意程式碼將本機特權提升至 root 使用者權限。(CVE-2023-0179)

io_uring 的實作中有一個邏輯錯誤,可用以觸發釋放後使用弱點,進而導致特權提升。在 io_prep_async_work 函式中,「上次 io_grab_identity 呼叫無法傳回假」的假設不成立,在此情況下,該函式將使用 init_cred 或先前連結的要求身分來執行作業,而非使用目前的身分。
這可導致參照計數問題,進而造成釋放後使用。建議升級舊版本 5.10.161。(CVE-2023-0240)

在 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)

efi:rt-wrapper:新增包括 (CVE-2023-21102) 的遺漏

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

btrfs修正配額重新掃描和停用導致 NULL 指標解除參照之間的爭用 (CVE-2023-52896)

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

xhci在主機停止回應時修正 null 指標解除參照 (CVE-2023-52898)

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

nilfs2修正 nilfs_btree_insert() 中的一般保護錯誤 (CVE-2023-52900)

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

usbxhci解除參照前檢查端點是否有效 (CVE-2023-52901)

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

io_uringIOPOLL 的鎖定溢位 (CVE-2023-52903)

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

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

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

netfilter: ipset: 修復 bitmap_ip_create() 函式中,擴展前的溢位錯誤。(CVE-2023-53032)

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

netfilternft_payload擷取 VLAN 標頭位元時的算術不正確 (CVE-2023-53033)

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

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

解決方案

執行「yum update kernel」或 或「yum update --advisory ALAS2KERNEL-5.10-2023-026」更新您的系統。

另請參閱

https://explore.alas.aws.amazon.com/CVE-2022-50401.html

https://explore.alas.aws.amazon.com/CVE-2022-50402.html

https://explore.alas.aws.amazon.com/CVE-2022-50405.html

https://explore.alas.aws.amazon.com/CVE-2022-50411.html

https://explore.alas.aws.amazon.com/CVE-2022-50414.html

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

https://explore.alas.aws.amazon.com/CVE-2023-0179.html

https://explore.alas.aws.amazon.com/CVE-2023-0240.html

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

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

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

https://explore.alas.aws.amazon.com/CVE-2023-21102.html

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

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

https://explore.alas.aws.amazon.com/CVE-2023-52896.html

https://explore.alas.aws.amazon.com/CVE-2023-52898.html

https://explore.alas.aws.amazon.com/CVE-2023-52900.html

https://explore.alas.aws.amazon.com/CVE-2023-52901.html

https://explore.alas.aws.amazon.com/CVE-2023-52903.html

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

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

https://explore.alas.aws.amazon.com/CVE-2023-53033.html

https://alas.aws.amazon.com//AL2/ALAS2KERNEL-5.10-2023-026.html

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

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

https://explore.alas.aws.amazon.com/CVE-2022-48879.html

https://explore.alas.aws.amazon.com/CVE-2022-48896.html

https://explore.alas.aws.amazon.com/CVE-2022-48899.html

https://explore.alas.aws.amazon.com/CVE-2022-48953.html

https://explore.alas.aws.amazon.com/CVE-2022-50242.html

https://explore.alas.aws.amazon.com/CVE-2022-50250.html

https://explore.alas.aws.amazon.com/CVE-2022-50251.html

https://explore.alas.aws.amazon.com/CVE-2022-50252.html

https://explore.alas.aws.amazon.com/CVE-2022-50253.html

https://explore.alas.aws.amazon.com/CVE-2022-50259.html

https://explore.alas.aws.amazon.com/CVE-2022-50275.html

https://explore.alas.aws.amazon.com/CVE-2022-50276.html

https://explore.alas.aws.amazon.com/CVE-2022-50278.html

https://explore.alas.aws.amazon.com/CVE-2022-50280.html

https://explore.alas.aws.amazon.com/CVE-2022-50282.html

https://explore.alas.aws.amazon.com/CVE-2022-50286.html

https://explore.alas.aws.amazon.com/CVE-2022-50288.html

https://explore.alas.aws.amazon.com/CVE-2022-50318.html

https://explore.alas.aws.amazon.com/CVE-2022-50333.html

https://explore.alas.aws.amazon.com/CVE-2022-50334.html

https://explore.alas.aws.amazon.com/CVE-2022-50341.html

https://explore.alas.aws.amazon.com/CVE-2022-50343.html

https://explore.alas.aws.amazon.com/CVE-2022-50346.html

https://explore.alas.aws.amazon.com/CVE-2022-50349.html

https://explore.alas.aws.amazon.com/CVE-2022-50365.html

https://explore.alas.aws.amazon.com/CVE-2022-50381.html

https://explore.alas.aws.amazon.com/CVE-2022-50382.html

https://explore.alas.aws.amazon.com/CVE-2022-50385.html

https://explore.alas.aws.amazon.com/CVE-2022-50388.html

https://explore.alas.aws.amazon.com/CVE-2022-50389.html

https://explore.alas.aws.amazon.com/CVE-2022-50395.html

https://explore.alas.aws.amazon.com/CVE-2022-50396.html

Plugin 詳細資訊

嚴重性: High

ID: 171216

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

版本: 1.15

類型: local

代理程式: unix

已發布: 2023/2/8

已更新: 2025/10/8

支援的感應器: 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:python-perf, cpe:/o:amazon:linux:2, p-cpe:/a:amazon:linux:perf, p-cpe:/a:amazon:linux:kernel-devel, p-cpe:/a:amazon:linux:kernel-headers, p-cpe:/a:amazon:linux:kernel-tools-devel, p-cpe:/a:amazon:linux:bpftool-debuginfo, p-cpe:/a:amazon:linux:kernel-tools-debuginfo, p-cpe:/a:amazon:linux:kernel-livepatch-5.10.165-143.735, p-cpe:/a:amazon:linux:kernel-debuginfo-common-aarch64, p-cpe:/a:amazon:linux:kernel-debuginfo-common-x86_64, p-cpe:/a:amazon:linux:bpftool, p-cpe:/a:amazon:linux:python-perf-debuginfo, p-cpe:/a:amazon:linux:kernel-tools, p-cpe:/a:amazon:linux:perf-debuginfo, p-cpe:/a:amazon:linux:kernel, p-cpe:/a:amazon:linux:kernel-debuginfo

必要的 KB 項目: Host/local_checks_enabled, Host/AmazonLinux/release, Host/AmazonLinux/rpm-list

可被惡意程式利用: true

可輕鬆利用: Exploits are available

修補程式發佈日期: 2023/1/31

弱點發布日期: 2023/1/12

參考資訊

CVE: CVE-2022-47929, CVE-2022-48879, CVE-2022-48896, CVE-2022-48899, CVE-2022-48953, CVE-2022-50242, CVE-2022-50250, CVE-2022-50251, CVE-2022-50252, CVE-2022-50253, CVE-2022-50259, CVE-2022-50275, CVE-2022-50276, CVE-2022-50278, CVE-2022-50280, CVE-2022-50282, CVE-2022-50286, CVE-2022-50288, CVE-2022-50318, CVE-2022-50333, CVE-2022-50334, CVE-2022-50341, CVE-2022-50343, CVE-2022-50346, CVE-2022-50349, CVE-2022-50365, CVE-2022-50381, CVE-2022-50382, CVE-2022-50385, CVE-2022-50388, CVE-2022-50389, CVE-2022-50395, CVE-2022-50396, CVE-2022-50401, CVE-2022-50402, CVE-2022-50405, CVE-2022-50411, CVE-2022-50414, CVE-2023-0045, CVE-2023-0179, CVE-2023-0240, CVE-2023-0394, CVE-2023-0459, CVE-2023-0461, CVE-2023-21102, CVE-2023-23454, CVE-2023-23455, CVE-2023-52896, CVE-2023-52898, CVE-2023-52900, CVE-2023-52901, CVE-2023-52903, CVE-2023-52906, CVE-2023-53032, CVE-2023-53033