Amazon Linux 2核心 --advisory ALAS2KERNEL-5。4-2023-042 (ALASKERNEL-5.4-2023-042)

high Nessus Plugin ID 171848

概要

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

說明

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

在 Linux 核心的第 2 層通道通訊協定 (L2TP) 中發現一個缺陷。清除 sk_user_data 時遺漏鎖定可導致爭用條件和 NULL 指標解除參照弱點。本機使用者可利用此缺陷造成系統當機,進而引發拒絕服務。(CVE-2022-4129)

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

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

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

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

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

perf/x86/amd修正 int 移位時可能發生的整數溢位 (CVE-2022-49748)

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

dmaengine:修正 dma_chan_get() 中 client_count 的雙重遞增 (CVE-2022-49753)

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

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 核心的 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)

在 Linux 核心的人體介面裝置 (HID) 子系統中,使用者插入惡意 USB 裝置的方式中存在記憶體損毀缺陷。本機使用者可利用此缺陷造成系統當機,或可能提升自己的系統權限。(CVE-2023-1073)

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

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

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

bpf略過 send_signal_common() 中 pid=1 的工作 (CVE-2023-52992)

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

x86/i8259: 將舊型 PIC 中斷標記為 IRQ_LEVEL (CVE-2023-52993)

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

ipv4防止 fib_metrics_match() 中潛在的 spectre v1 小工具 (CVE-2023-52996)

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

ipv4防止 ip_metrics_convert() 中潛在的 spectre v1 小工具 (CVE-2023-52997)

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

net修正 netns ops 註冊錯誤路徑中的 UaF (CVE-2023-52999)

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

netlink防止潛在的 spectre v1 小工具 (CVE-2023-53000)

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

cifs修正因重新連線時未清除的 server->smbd_conn 導致的 oops (CVE-2023-53006)

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

tracing: 確保 trace_printk() 在可使用後能夠立即輸出 (CVE-2023-53007)

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

HID: betop: 檢查輸出報告的資料格式結構 (CVE-2023-53015)

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

net: mdio: 驗證 mdiobus_get_phy() 中的參數 addr (CVE-2023-53019)

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

net/schedsch_taprio修正可能的釋放後使用 (CVE-2023-53021)

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

bpf修正推測儲存繞過緩和措施不足所導致的指標洩漏 (CVE-2023-53024)

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

RDMA/core修正 ib 區塊迭代器計數器溢位 (CVE-2023-53026)

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

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

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

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

解決方案

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

另請參閱

https://alas.aws.amazon.com//AL2/ALAS2KERNEL-5.4-2023-042.html

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

https://explore.alas.aws.amazon.com/CVE-2022-4129.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-48946.html

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

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

https://explore.alas.aws.amazon.com/CVE-2022-49753.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-50389.html

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

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

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-2022-50430.html

https://explore.alas.aws.amazon.com/CVE-2023-0045.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-1073.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-52906.html

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Plugin 詳細資訊

嚴重性: High

ID: 171848

檔案名稱: al2_ALASKERNEL-5_4-2023-042.nasl

版本: 1.17

類型: local

代理程式: unix

已發布: 2023/2/23

已更新: 2025/10/14

支援的感應器: Agentless Assessment, Continuous Assessment, Frictionless Assessment Agent, Frictionless Assessment AWS, Nessus Agent, 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: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/2/17

弱點發布日期: 2022/11/28

參考資訊

CVE: CVE-2022-4129, CVE-2022-47929, CVE-2022-48879, CVE-2022-48896, CVE-2022-48899, CVE-2022-48946, CVE-2022-48949, CVE-2022-49748, CVE-2022-49753, 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-50389, CVE-2022-50395, CVE-2022-50396, CVE-2022-50401, CVE-2022-50402, CVE-2022-50405, CVE-2022-50411, CVE-2022-50414, CVE-2022-50430, CVE-2023-0045, CVE-2023-0394, CVE-2023-0459, CVE-2023-0461, CVE-2023-1073, CVE-2023-23454, CVE-2023-23455, CVE-2023-52896, CVE-2023-52898, CVE-2023-52900, CVE-2023-52901, CVE-2023-52906, CVE-2023-52992, CVE-2023-52993, CVE-2023-52996, CVE-2023-52997, CVE-2023-52999, CVE-2023-53000, CVE-2023-53006, CVE-2023-53007, CVE-2023-53015, CVE-2023-53019, CVE-2023-53021, CVE-2023-53024, CVE-2023-53026, CVE-2023-53032