Amazon Linux 2:核心 (ALAS-2024-2549)

high Nessus Plugin ID 198252

概要

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

說明

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

2024-06-19:已將 CVE-2023-46838 新增至此公告。

2024-06-06:已將 CVE-2023-52486 新增至此公告。

2024-06-06:已將 CVE-2023-52464 新增至此公告。

2024-06-06:已將 CVE-2023-52698 新增至此公告。

2024-06-06:已將 CVE-2024-0607 新增至此公告。

在 Xen 中發現一個瑕疵。非特權來賓可藉由傳送網路封包至後端來造成主機拒絕服務 (DoS),進而導致後端損毀。(CVE-2023-46838)

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

EDAC/thunderx:修復可能存在的超出邊界字串存取弱點

全域啟用 -Wstringop-overflow 會針對使用 strncat():

drivers/edac/thunderx_edac.c 的常見錯誤顯示警告:In function 'thunderx_ocx_com_threaded_isr':drivers/edac/thunderx_edac.c:1136:17: error: 'strncat' specified bound 1024 equals destination size [-Werror=stringop-overflow=]1136 | strncat(msg, other, OCX_MESSAGE_SIZE);| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~...1145 | strncat(msg, other, OCX_MESSAGE_SIZE);...1150 | strncat(msg, other, OCX_MESSAGE_SIZE);

...

顯然,此驅動程式的作者預期 strncat() 會以 strlcat() 的方式運作,後者使用目的地緩衝區的大小而不是來源緩衝區的長度作為第三個引數。
結果就是系統不會檢查已配置緩衝區的大小,

將其變更為 strlcat()。

[ bp:修剪編譯器輸出,修復提交訊息。] (CVE-2023-52464)

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

drm:不會因為鎖死處理而多次錯誤地取消參照相同 fb (CVE-2023-52486)

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

calipso:修復 netlbl_calipso_add_pass() 中的記憶體流失弱點 (CVE-2023-52698)

netfilter:nf_tables:修復 nft_byteorder_eval() 中的指標數學問題 (CVE-2024-0607)

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

llc:釋放時呼叫 sock_orphan() (CVE-2024-26625)

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

aoe:修復 aoecmd_cfg_pkts 中潛在的釋放後使用問題 (CVE-2024-26898)

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

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

解決方案

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

另請參閱

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

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

https://alas.aws.amazon.com/cve/html/CVE-2024-0607.html

https://alas.aws.amazon.com/cve/html/CVE-2024-26898.html

https://alas.aws.amazon.com/cve/html/CVE-2024-26625.html

https://alas.aws.amazon.com/AL2/ALAS-2024-2549.html

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

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

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

Plugin 詳細資訊

嚴重性: High

ID: 198252

檔案名稱: al2_ALAS-2024-2549.nasl

版本: 1.3

類型: local

代理程式: unix

已發布: 2024/5/31

已更新: 2024/6/24

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

風險資訊

VPR

風險因素: Medium

分數: 6.7

CVSS v2

風險因素: Medium

基本分數: 6.8

時間分數: 5

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

CVSS 評分資料來源: CVE-2024-26898

CVSS v3

風險因素: High

基本分數: 7.8

時間分數: 6.8

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

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

弱點資訊

CPE: p-cpe:/a:amazon:linux:perf, 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:kernel-livepatch-4.14.343-259.562, 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

可輕鬆利用: No known exploits are available

修補程式發佈日期: 2024/5/23

弱點發布日期: 2024/3/6

參考資訊

CVE: CVE-2023-46838, CVE-2023-52464, CVE-2023-52486, CVE-2023-52698, CVE-2024-0607, CVE-2024-26625, CVE-2024-26898