Amazon Linux 2:核心 (ALAS-2022-1903)

high Nessus Plugin ID 168676

概要

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

說明

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

在 Linux 核心中發現一個弱點。目前已將其歸類為「有問題」。受到此弱點影響的是 IPv6 Handler 元件的 ipv6_renew_options 函式。攻擊者可利用此弱點造成記憶體洩漏。攻擊者可在遠端執行此攻擊。建議套用修補程式以修正此問題。
已爲此弱點指派識別碼 VDB-211021。(CVE-2022-3524)

在 Linux 核心的邏輯連結控制和適配通訊協定 (L2CAP) 實作中發現釋放後使用缺陷,這是 l2cap_parse_conf_rsp 和 l2cap_parse_conf_req 函式中藍牙堆疊一部分。攻擊者如果在標準藍牙傳輸範圍內具有實體存取權,則在受害者附近時,可以透過藍牙執行程式碼,造成核心記憶體流失。(CVE-2022-42896)

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

iommu/vt-d:修正 dmar_dev_scope_init() 中的 PCI 裝置 refcount 洩漏 (CVE-2022-49002)

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

nilfs2:修正 nilfs_palloc_commit_free_entry() 中的 NULL 指標解除參照 (CVE-2022-49007)

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

net:hsr:修復潛在的釋放後使用問題 (CVE-2022-49015)

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

net:phy:在 probe() 失敗時修正 null-ptr-deref (CVE-2022-49021)

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

btrfs:qgroup:修復 btrfs_qgroup_inherit() 中無效內容錯誤的 Sleep (CVE-2022-49033)

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

ntfs:迭代 ATTR_RECORD 時檢查溢位情況 (CVE-2022-49762)

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

ntfs:修正 ntfs_attr_find() 中的釋放後使用 (CVE-2022-49763)

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

gfs2:讀取超級區塊後檢查 sb_bsize_shift (CVE-2022-49769)

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

dm ioctl:修正 list_versions 與模組載入爭用時的錯誤行為 (CVE-2022-49771)

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

macvlan:強制執行一致的最小 mtu (CVE-2022-49776)

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

mmc:sdhci-pci:修正因缺少 pci_dev_put() 而可能造成的記憶體洩漏 (CVE-2022-49787)

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

misc/vmw_vmci:修正 vmci_host_do_receive_datagram() 中的資訊洩漏 (CVE-2022-49788)

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

ftrace:修正 ftrace_add_mod() 中的 null 指標解除參照 (CVE-2022-49802)

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

drbd:drbd_create_device() 中有釋放後使用錯誤 (CVE-2022-49811)

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

kcm:關閉 sk_receive_queue 上的爭用情形 (CVE-2022-49814)

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

pinctrl:devicetree:修正 pinctrl_dt_to_map 中的 null 指標解除參照 (CVE-2022-49832)

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

nilfs2:修正重新掛載時 ns_writer 的釋放後使用錯誤 (CVE-2022-49834)

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

bpf、test_run:修正 bpf_prog_test_run_skb() 中的對齊問題 (CVE-2022-49840)

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

ASoC: core: 修復 snd_soc_exit() 中的釋放後使用問題 (CVE-2022-49842)

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

udf:修正 udf_find_entry() 中的 slab-out-of-bounds 寫入錯誤 (CVE-2022-49846)

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

nilfs2:修正 nilfs_count_free_blocks() 中的鎖死 (CVE-2022-49850)

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

net:macvlan:修正 macvlan_common_newlink 的記憶體洩漏 (CVE-2022-49853)

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

tipc:修正 tipc_nl_compat_name_table_dump_header 中的 msg->req tlv len 檢查 (CVE-2022-49862)

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

ipv6:addrlabel:修正將結構 ifaddrlblmsg 傳送至網路時的資訊洩漏 (CVE-2022-49865)

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

capabilities:修正對 CAP_TO_MASK 進行位移運算時的未定義行為 (CVE-2022-49870)

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

net:gso:修正具有混合 head alloc 類型的 frag_list 上的錯誤 (CVE-2022-49872)

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

HID:hyperv:修正 mousevsc_probe() 中的潛在記憶體洩漏 (CVE-2022-49874)

在 Linux 核心 6.0.8 版本中,fs/ntfs/attrib.c 的 ntfs_attr_find 中有超出邊界讀取情形。
(CVE-2023-26607)

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

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

解決方案

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

另請參閱

https://alas.aws.amazon.com//AL2/ALAS2-2022-1903.html

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Plugin 詳細資訊

嚴重性: High

ID: 168676

檔案名稱: al2_ALAS-2022-1903.nasl

版本: 1.13

類型: local

代理程式: unix

已發布: 2022/12/13

已更新: 2025/8/5

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

風險資訊

VPR

風險因素: Medium

分數: 6.7

CVSS v2

風險因素: High

基本分數: 8.3

時間性分數: 6.5

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

CVSS 評分資料來源: CVE-2022-42896

CVSS v3

風險因素: High

基本分數: 8.8

時間性分數: 7.9

媒介: CVSS:3.0/AV:A/AC:L/PR:N/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:python-perf, cpe:/o:amazon:linux:2, p-cpe:/a:amazon:linux:perf, p-cpe:/a:amazon:linux:kernel-headers, p-cpe:/a:amazon:linux:kernel-tools-devel, 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-tools, p-cpe:/a:amazon:linux:kernel-debuginfo-common-aarch64, p-cpe:/a:amazon:linux:kernel-debuginfo-common-x86_64, p-cpe:/a:amazon:linux:perf-debuginfo, p-cpe:/a:amazon:linux:kernel-livepatch-4.14.301-224.520, 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

修補程式發佈日期: 2022/12/9

弱點發布日期: 2022/10/16

參考資訊

CVE: CVE-2022-3524, CVE-2022-42896, CVE-2022-49002, CVE-2022-49007, CVE-2022-49015, CVE-2022-49021, CVE-2022-49033, CVE-2022-49762, CVE-2022-49763, CVE-2022-49769, CVE-2022-49771, CVE-2022-49776, CVE-2022-49787, CVE-2022-49788, CVE-2022-49802, CVE-2022-49811, CVE-2022-49814, CVE-2022-49832, CVE-2022-49834, CVE-2022-49840, CVE-2022-49842, CVE-2022-49846, CVE-2022-49850, CVE-2022-49853, CVE-2022-49862, CVE-2022-49865, CVE-2022-49870, CVE-2022-49872, CVE-2022-49874, CVE-2023-26607