Amazon Linux 2核心 --advisory ALAS2-2023-1932 (ALAS-2023-1932)

high Nessus Plugin ID 171229

概要

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

說明

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

來賓可透過 netback 觸發 NIC 介面重設/中止/損毀。來賓可透過傳送特定類型的封包,在 Linux 型網路後端觸發 NIC 介面重設/中止/損毀。Linux 網路堆疊的其餘部分似乎有一個 (未寫入的) 假設,即封包通訊協定標頭都包含在 SKB 的線性區段中,如果不是這樣,則某些 NIC 會出現不良行為。據報告,Cisco (enic) 和 Broadcom NetXtrem II BCM5780 (bnx2x) 會發生此問題,但其他 NIC/驅動程式也可能有此問題。如果前端傳送具有分割標頭的要求,netback 會將違反上述假設的要求轉送至網路核心,進而導致上述錯誤行為。(CVE-2022-3643)

來賓可在 Linux netback 驅動程式中觸發鎖死 [此 CNA 資訊記錄與多個 CVE 有關;
文字說明了哪些方面/弱點對應於哪個 CVE。] XSA-392 的修補程式引入了另一個問題,當嘗試釋放因 XSA-392 處理而丟棄的 SKB 時,可能會導致鎖死 (CVE-2022-42328)。此外,當因其他原因中斷套件時,如果在 xen-netback 驅動程式所連線的介面中,netpoll 處於作用中,則可能會發生相同的鎖死情況 (CVE-2022-42329)。(CVE-2022-42328)

來賓可在 Linux netback 驅動程式中觸發鎖死 [此 CNA 資訊記錄與多個 CVE 有關;
文字說明了哪些方面/弱點對應於哪個 CVE。] XSA-392 的修補程式引入了另一個問題,當嘗試釋放因 XSA-392 處理而丟棄的 SKB 時,可能會導致鎖死 (CVE-2022-42328)。此外,當因其他原因中斷套件時,如果在 xen-netback 驅動程式所連線的介面中,netpoll 處於作用中,則可能會發生相同的鎖死情況 (CVE-2022-42329)。(CVE-2022-42329)

在 Linux 核心 6.0.10 以及之前所有版本中發現一個問題。net/bluetooth/l2cap_core.c 的 l2cap_config_req 存在可透過 L2CAP_CONF_REQ 封包觸發的整數環繞弱點。(CVE-2022-45934)

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

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

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

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

Bluetooth:L2CAP:修正 u8 溢位 (CVE-2022-48947)

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

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

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

ipv6:避免 ip6_fragment() 中的釋放後使用 (CVE-2022-48956)

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

mac802154:修正 ieee802154_if_add() 中遺漏的 INIT_LIST_HEAD (CVE-2022-48972)

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

HID:核心:修正 hid_report_raw_event 中的 shift-out-of-bounds (CVE-2022-48978)

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

media:v4l2-dv-timings.c:修正過於嚴格的空白健全性測試 (CVE-2022-48987)

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

memcg:修正 memcg_write_event_control() 中可能的釋放後使用 (CVE-2022-48988)

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

mm/khugepaged:叫用 shmem/file 折疊路徑中的 MMU 通知程式 (CVE-2022-48991)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

ACPICA修正 acpi_ut_copy_ipackage_to_ipackage() 中的釋放後使用 (CVE-2022-50423)

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

mmcvub300修正警告 - 執行 !TASK_RUNNING 時不呼叫封鎖 ops (CVE-2022-50430)

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

blk-mq修正暫存器 ‘hctx’ 失敗時可能發生的記憶體洩漏 (CVE-2022-50434)

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

MIPSvpe-mt修正模組結束時可能發生的記憶體洩漏 (CVE-2022-50462)

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

macintosh修正 macio_add_one_device() 中可能發生的記憶體洩漏 (CVE-2022-50474)

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

nilfs2修正 nilfs_sb2_bad_offset() 中的移位超出邊界/溢位 (CVE-2022-50478)

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

dm cache修正 destroy() 中的 UAF (CVE-2022-50496)

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

binfmt_misc修正 check_special_flags 中的移位超出邊界 (CVE-2022-50497)

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

mtdlpddr2_nvm修正可能的 null-ptr-deref (CVE-2022-50503)

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

iommu/amd修正 ppr_notifier() 中的 pci 裝置 refcount 洩漏 (CVE-2022-50505)

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

drm/radeon修正 radeon_atrm_get_bios() 中的 PCI 裝置 refcount 洩漏 (CVE-2022-50520)

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

dm Thin提交失敗時使用最後一個交易的 pmd->root (CVE-2022-50534)

根據使用 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 核心 6.1.4 及其之前的所有版本中,由於類型混淆 (非負數有時可指示 TC_ACT_SHOT 條件,而非有效的分類結果),net/sched/sch_atm.c 中的 atm_tc_enqueue 允許攻擊者造成系統拒絕服務。(CVE-2023-23455)

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

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

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

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

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

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

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

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

解決方案

執行「yum update kernel」或「yum update --advisory ALAS2-2023-1932」以更新系統。

另請參閱

https://alas.aws.amazon.com//AL2/ALAS2-2023-1932.html

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

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

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

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

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

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

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

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

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

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

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

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

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

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

https://explore.alas.aws.amazon.com/CVE-2022-48991.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-50275.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-50333.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-50401.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-50423.html

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

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

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

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

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

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

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

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

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

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

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

Plugin 詳細資訊

嚴重性: High

ID: 171229

檔案名稱: al2_ALAS-2023-1932.nasl

版本: 1.20

類型: local

代理程式: unix

已發布: 2023/2/8

已更新: 2025/10/27

支援的感應器: 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-0461

弱點資訊

CPE: cpe:/o:amazon:linux:2, p-cpe:/a:amazon:linux:kernel-headers, p-cpe:/a:amazon:linux:kernel-tools-devel, p-cpe:/a:amazon:linux:perf, p-cpe:/a:amazon:linux:python-perf, p-cpe:/a:amazon:linux:kernel-devel, p-cpe:/a:amazon:linux:kernel-tools-debuginfo, p-cpe:/a:amazon:linux:python-perf-debuginfo, p-cpe:/a:amazon:linux:kernel-livepatch-4.14.304-226.531, p-cpe:/a:amazon:linux:kernel-debuginfo-common-aarch64, p-cpe:/a:amazon:linux:kernel-debuginfo-common-x86_64, 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/2/3

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

參考資訊

CVE: CVE-2022-3643, CVE-2022-42328, CVE-2022-42329, CVE-2022-45934, CVE-2022-47929, CVE-2022-48946, CVE-2022-48947, CVE-2022-48949, CVE-2022-48956, CVE-2022-48972, CVE-2022-48978, CVE-2022-48987, CVE-2022-48988, CVE-2022-48991, CVE-2022-50251, CVE-2022-50252, CVE-2022-50253, CVE-2022-50275, CVE-2022-50278, CVE-2022-50280, CVE-2022-50282, CVE-2022-50333, CVE-2022-50343, CVE-2022-50346, CVE-2022-50349, CVE-2022-50365, CVE-2022-50381, CVE-2022-50389, CVE-2022-50401, CVE-2022-50405, CVE-2022-50411, CVE-2022-50414, CVE-2022-50423, CVE-2022-50430, CVE-2022-50434, CVE-2022-50462, CVE-2022-50474, CVE-2022-50478, CVE-2022-50496, CVE-2022-50497, CVE-2022-50503, CVE-2022-50505, CVE-2022-50520, CVE-2022-50534, CVE-2023-0045, CVE-2023-0394, CVE-2023-0459, CVE-2023-0461, CVE-2023-23455, CVE-2023-52900, CVE-2023-52901, CVE-2023-53032