Amazon Linux 2:kernel (ALASKERNEL-5.15-2024-037)

high Nessus Plugin ID 190056

概要

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

說明

遠端主機上安裝的核心版本早於 5.15.93-55.139。因此,會受到 ALAS2KERNEL-515-2024-037 公告中所提及的多個弱點影響。

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

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

cpufreq省長使用 kobject release() 方法釋放 dbs_data (CVE-2022-49513)

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

ovl針對 memcpy() 目的地使用 buf 彈性陣列 (CVE-2022-49743)

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

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

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

裝置屬性fwnode_graph_get_next_endpoint() 中節點 refcount 洩漏的修正 (CVE-2022-49752)

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

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

在 Linux 核心中發現一個缺陷。在使用者將 capable 檔案從一個 nosuid 掛載區複製到另一個掛載時,在 Linux 核心的 OverlayFS 子系統中發現未經授權使用 capabilities 執行 setuid 檔案的情況。本機使用者可利用此 uid 對應錯誤提升自己的系統權限。(CVE-2023-0386)

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

在 Linux 核心的 NFS 檔案系統中,發現 fs/nfsd/nfs4proc.c 的 nfsd4_ssc_setup_dul 中存在釋放後使用缺陷。本機攻擊者可利用此問題造成系統當機或導致核心資訊洩漏問題。(CVE-2023-1652)

在 Linux 核心 6.0.8 中,fs/fs-writeback.c 的 inode_cgwb_move_to_attached 中存在與 __list_del_entry_valid 相關的釋放後使用問題。(CVE-2023-26605)

在 Linux 核心的 Framebuffer Console (fbcon) 中發現一個缺陷。為 fbcon_set_font 提供大於 32 的 font->width 和 font->height 時,由於沒有適當的檢查,會發生移位超出邊界,進而導致未定義的行為且可能造成拒絕服務。(CVE-2023-3161)

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

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

bpf略過 backtrack_insn 中的無效 kfunc 呼叫 (CVE-2023-52928)

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

drm/i915修正可能發生的 bit_17 重複釋放 (CVE-2023-52930)

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

mm/swapfile在 get_swap_pages() 中新增 cond_resched() (CVE-2023-52932)

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

Squashfs修正 xattr_ids 計數的處理和功能健全檢查 (CVE-2023-52933)

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

kernel/irq/irqdomain.c透過使用 debugfs_lookup() 修正記憶體洩漏 (CVE-2023-52936)

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

vc_screen:移動 vcs_read() 中的 struct vc_data 指標載入以避免 UAF (CVE-2023-52973)

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

efi修正 efi_mem_reserve_persistent 中潛在的 NULL 解除參照 (CVE-2023-52976)

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

netopenvswitch修正 ovs_flow_cmd_new 中的流程記憶體洩漏 (CVE-2023-52977)

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

squashfs加強 squashfs_read_xattr_id_table 中的功能健全檢查 (CVE-2023-52979)

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

block、bfq修正 bic_set_bfqq() 中 bfqq 的 uaf (CVE-2023-52983)

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

bpf、sockmap複製接聽程式時檢查任何 tcp_bpf_prots (CVE-2023-52986)

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

net修正 skb_segment_list 中的 NULL 指標 (CVE-2023-52991)

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

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

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

x86/i8259使用 IRQ_LEVEL 標記舊版 PIC 中斷 (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 核心中,下列弱點已解決:

追踪確保 trace_printk() 可以在使用時立即輸出 (CVE-2023-53007)

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

netmdio驗證 mdiobus_get_phy() 中的參數 addr (CVE-2023-53019)

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

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

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

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

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

NFSD修正 nfsd4_ssc_setup_dul() 中的釋放後使用 (CVE-2023-53025)

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

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

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

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

解決方案

執行「yum update kernel」以更新系統。

另請參閱

https://alas.aws.amazon.com/cve/html/CVE-2023-52933.html

https://alas.aws.amazon.com/cve/html/CVE-2023-52936.html

https://alas.aws.amazon.com/cve/html/CVE-2023-52973.html

https://alas.aws.amazon.com/cve/html/CVE-2023-52976.html

https://alas.aws.amazon.com/cve/html/CVE-2023-52977.html

https://alas.aws.amazon.com/cve/html/CVE-2023-52979.html

https://alas.aws.amazon.com/cve/html/CVE-2023-52983.html

https://alas.aws.amazon.com/cve/html/CVE-2023-52986.html

https://alas.aws.amazon.com/cve/html/CVE-2023-52991.html

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

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

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

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

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

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

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

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

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

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

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

https://alas.aws.amazon.com/cve/html/CVE-2023-53025.html

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

https://alas.aws.amazon.com/AL2/ALASKERNEL-5.15-2024-037.html

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

https://alas.aws.amazon.com/cve/html/CVE-2022-4129.html

https://alas.aws.amazon.com/cve/html/CVE-2022-49513.html

https://alas.aws.amazon.com/cve/html/CVE-2022-49743.html

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

https://alas.aws.amazon.com/cve/html/CVE-2022-49752.html

https://alas.aws.amazon.com/cve/html/CVE-2022-49753.html

https://alas.aws.amazon.com/cve/html/CVE-2023-0386.html

https://alas.aws.amazon.com/cve/html/CVE-2023-1073.html

https://alas.aws.amazon.com/cve/html/CVE-2023-1652.html

https://alas.aws.amazon.com/cve/html/CVE-2023-26605.html

https://alas.aws.amazon.com/cve/html/CVE-2023-3161.html

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

https://alas.aws.amazon.com/cve/html/CVE-2023-52928.html

https://alas.aws.amazon.com/cve/html/CVE-2023-52930.html

https://alas.aws.amazon.com/cve/html/CVE-2023-52932.html

Plugin 詳細資訊

嚴重性: High

ID: 190056

檔案名稱: al2_ALASKERNEL-5_15-2024-037.nasl

版本: 1.16

類型: local

代理程式: unix

已發布: 2024/2/6

已更新: 2025/7/4

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

風險資訊

VPR

風險因素: Critical

分數: 9.2

CVSS v2

風險因素: Medium

基本分數: 6.8

時間性分數: 5.9

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

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

CVSS v3

風險因素: High

基本分數: 7.8

時間性分數: 7.5

媒介: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

時間媒介: CVSS:3.0/E:H/RL:O/RC:C

弱點資訊

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-livepatch-5.15.93-55.139, 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

修補程式發佈日期: 2024/2/1

弱點發布日期: 2023/2/17

CISA 已知遭惡意利用弱點到期日: 2025/7/8

可惡意利用

Core Impact

Metasploit (Local Privilege Escalation via CVE-2023-0386)

參考資訊

CVE: CVE-2022-4129, CVE-2022-49513, CVE-2022-49743, CVE-2022-49748, CVE-2022-49752, CVE-2022-49753, CVE-2023-0386, CVE-2023-1073, CVE-2023-1652, CVE-2023-26605, CVE-2023-3161, CVE-2023-3567, CVE-2023-52928, CVE-2023-52930, CVE-2023-52932, CVE-2023-52933, CVE-2023-52936, CVE-2023-52973, CVE-2023-52976, CVE-2023-52977, CVE-2023-52979, CVE-2023-52983, CVE-2023-52986, CVE-2023-52991, 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-53019, CVE-2023-53021, CVE-2023-53024, CVE-2023-53025, CVE-2023-53026

IAVA: 2025-A-0456