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

netskb_partial_csum_set() 對傳輸標頭 magic 值的修正 (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)

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

Plugin 詳細資訊

嚴重性: High

ID: 177674

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

版本: 1.14

類型: local

代理程式: unix

已發布: 2023/6/28

已更新: 2025/10/14

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

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