Amazon Linux 2023:bpftool、kernel、kernel-devel (ALAS2023-2023-228)

high Nessus Plugin ID 177674

概要

遠端 Amazon Linux 2023 主機缺少一個安全性更新。

說明

因此,會受到 ALAS2023-2023-228 公告中所提及的多個弱點影響。

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

binder修正 alloc->vma 在與 munmap() 爭用中的 UAF (CVE-2022-50240)

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

binder修正 alloc->vma 在與 munmap() 爭用中的 UAF (CVE-2022-50338)

在處理 RPL 通訊協定時,發現 Linux 核心的網路子系統中存在缺陷。此問題是對使用者提供的資料處理不當所導致,可造成宣告失敗。利用此缺陷,未經驗證的遠端攻擊者可在系統中建立拒絕服務條件。
(CVE-2023-2156)

攻擊者可惡意利用 Linux 核心 ipvlan 網路驅動程式中的堆積超出邊界寫入弱點來提升本機權限。

之所以存在超出邊界寫入弱點,是因為 ipvlan 網路驅動程式中缺少 skb->cb 初始化。若已啟用 CONFIG_IPVLAN,則可攻擊此弱點。

我們建議升級過去的 commit 90cbed5247439a966b645b34eb0a2e037836ea8e。(CVE-2023-3090)

在 Linux 核心的 vc_screen 中,發現 drivers/tty/vt/vc_screen.c 的 vcs_read 中存在釋放後使用瑕疵。具有本機使用者存取權的攻擊者可利用此瑕疵,來造成系統當機或洩漏核心內部資訊。(CVE-2023-3567)

在 6.3.7 版之前的 Linux 核心的 net/sched/cls_flower.c 中的 fl_set_geneve_opt 中發現了一個問題。
它允許透過 TCA_FLOWER_KEY_ENC_OPTS_GENEVE 封包在花卉分類程式碼中發生超出邊界寫入。
這可能導致拒絕服務或特權提升。(CVE-2023-35788)

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

serial8250在連接埠特定驅動程式解除系結上重新初始化 port->pm (CVE-2023-53176)

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

mm修正 zswap 回寫爭用情形 (CVE-2023-53178)

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

ACPICA避免未定義的行為將零位移套用至 null 指標 (CVE-2023-53182)

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

irqchip/gicv3NVIDIA 錯字勘誤表的因應措施 T241-FABRIC-4 (CVE-2023-53383)

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

rcu保護 rcu_print_task_exp_stall() ->exp_tasks 存取 (CVE-2023-53419)

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

net新增 vlan_get_protocol_and_depth() 協助程式 (CVE-2023-53433)

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

net針對傳輸標頭魔術值的 skb_partial_csum_set() 修正 (CVE-2023-53439)

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

ACPI處理器檢查 fch_misc_setup() 中 devm_kzalloc() 的 null 傳回 (CVE-2023-53483)

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

libcpu_rmap避免 rmap->obj 陣列項目發生釋放後使用 (CVE-2023-53484)

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

virtio_net修正 XDP 初始化的錯誤回溯 (CVE-2023-53499)

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

ext4允許 ext4_get_group_info() 失敗 (CVE-2023-53503)

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

nbd修正 ioctl 引數的不完整驗證 (CVE-2023-53513)

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

netfilternft_set_rbtree修正元素插入時的 null 解除參照 (CVE-2023-53566)

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

null_blk一律從 configfs 檢查佇列模式設定 (CVE-2023-53576)

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

md修正 status_resync 中的軟鎖定 (CVE-2023-53620)

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

tun修正卸離 NAPI 佇列的記憶體洩漏。 (CVE-2023-53685)

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

ipv6修正 ipv6_find_tlv() 中的越界存取 (CVE-2023-53705)

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

net修正 __skb_tstamp_tx() 中的 skb 洩漏 (CVE-2023-53716)

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

vc_screen重新載入 vcs_write() 中的 struct vc_data 指標載入以避免 UAF (CVE-2023-53747)

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

drm/i915檢查 new_crtc_state 以修正 NULL 指標解除參照 (CVE-2023-53833)

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

netlink註釋對 nlk->cb_running 的存取 (CVE-2023-53853)

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

udplite修正 __sk_mem_raise_allocated() 中的 NULL 指標解除參照。 (CVE-2023-54004)

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

net針對虛擬介面停用 LRO 時修正堆疊溢位 (CVE-2023-54012)

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

ext4在 ext4_mb_normalize_request 中正確設定目標啟動 (CVE-2023-54021)

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

bpf修正 LRU 和 LRU_PERCPU 雜湊對應中的記憶體洩漏 (CVE-2023-54033)

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

bpf新增 preempt_count_{sub,add} 至 btf id 拒絕清單 (CVE-2023-54086)

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

netnsh使用正確的 mac_offset 回溯 nsh_gso_segment() 中的 gso skb (CVE-2023-54114)

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

drm/fbdev-generic禁止潛在的超出邊界存取 (CVE-2023-54116)

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

binder修正 alloc->vma 在與 munmap() 爭用中的 UAF (CVE-2023-54157)

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

firmwarearm_sdei因無效內容 BUG 而修正睡眠問題 (CVE-2023-54160)

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

scsi目標iscsit在工作階段釋放前釋放 cmd (CVE-2023-54184)

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

netfilternf_tables一律從通知程式釋放 netdev 勾點 (CVE-2023-54200)

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

net修正 sock_recv_cmsgs() 中 sk->sk_stamp 的載入中斷問題。 (CVE-2023-54218)

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

af_unix修正有關 sk->sk_shutdown 的資料爭用。 (CVE-2023-54226)

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

block、bfq修正零 wsum 上的除以零錯誤 (CVE-2023-54242)

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

ACPIEC修正移除自訂查詢處置程式時的 oops (CVE-2023-54244)

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

debugobjects不從 fill_pool() 喚醒 kswapd (CVE-2023-54268)

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

SUNRPC重複釋放仍在使用中的 xprt_ctxt (CVE-2023-54269)

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

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

解決方案

執行「dnf update kernel --releasever 2023.1.20230628」或 或「dnf update --advisory ALAS2023-2023-228 --releasever 2023.1.20230628」以更新系統。

另請參閱

https://alas.aws.amazon.com//AL2023/ALAS2023-2023-228.html

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Plugin 詳細資訊

嚴重性: High

ID: 177674

檔案名稱: al2023_ALAS2023-2023-228.nasl

版本: 1.23

類型: local

代理程式: unix

已發布: 2023/6/28

已更新: 2026/2/12

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

風險資訊

VPR

風險因素: Medium

分數: 6.7

CVSS v2

風險因素: Medium

基本分數: 6.8

時間性分數: 5.3

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

CVSS 評分資料來源: CVE-2023-53484

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

弱點資訊

CPE: p-cpe:/a:amazon:linux:kernel, p-cpe:/a:amazon:linux:kernel-tools-debuginfo, p-cpe:/a:amazon:linux:kernel-tools-devel, p-cpe:/a:amazon:linux:perf-debuginfo, p-cpe:/a:amazon:linux:kernel-debuginfo-common-aarch64, p-cpe:/a:amazon:linux:bpftool-debuginfo, p-cpe:/a:amazon:linux:kernel-libbpf-devel, p-cpe:/a:amazon:linux:kernel-libbpf-static, cpe:/o:amazon:linux:2023, p-cpe:/a:amazon:linux:kernel-livepatch-6.1.34-56.100, p-cpe:/a:amazon:linux:kernel-debuginfo, p-cpe:/a:amazon:linux:kernel-debuginfo-common-x86_64, p-cpe:/a:amazon:linux:kernel-devel, p-cpe:/a:amazon:linux:kernel-headers, p-cpe:/a:amazon:linux:kernel-tools, p-cpe:/a:amazon:linux:perf, p-cpe:/a:amazon:linux:bpftool, p-cpe:/a:amazon:linux:python3-perf, p-cpe:/a:amazon:linux:python3-perf-debuginfo, p-cpe:/a:amazon:linux:kernel-libbpf

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

可被惡意程式利用: true

可輕鬆利用: Exploits are available

修補程式發佈日期: 2023/6/21

弱點發布日期: 2023/5/9

參考資訊

CVE: CVE-2022-50240, CVE-2023-2156, CVE-2023-3090, CVE-2023-3567, CVE-2023-35788, CVE-2023-53176, CVE-2023-53178, CVE-2023-53182, CVE-2023-53383, CVE-2023-53419, CVE-2023-53433, CVE-2023-53439, CVE-2023-53483, CVE-2023-53484, CVE-2023-53499, CVE-2023-53503, CVE-2023-53513, CVE-2023-53566, CVE-2023-53576, CVE-2023-53620, CVE-2023-53685, CVE-2023-53705, CVE-2023-53716, CVE-2023-53747, CVE-2023-53833, CVE-2023-53853, CVE-2023-54004, CVE-2023-54012, CVE-2023-54021, CVE-2023-54033, CVE-2023-54086, CVE-2023-54114, CVE-2023-54116, CVE-2023-54157, CVE-2023-54160, CVE-2023-54184, CVE-2023-54200, CVE-2023-54218, CVE-2023-54226, CVE-2023-54242, CVE-2023-54244, CVE-2023-54268, CVE-2023-54269