Amazon Linux 2:核心 (ALAS-2025-2752)

high Nessus Plugin ID 214972

概要

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

說明

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

在 Linux 核心 HCI 子系統的 sco_sock_sendmsg() 函式中發現釋放後使用缺陷,當使用者呼叫 ioct UFFDIO_REGISTER 時或觸發 sco_conn_del() 呼叫的爭用條件並且透過預期可控制的錯誤記憶體頁面呼叫 sco_sock_sendmsg() 時會發生此問題。有權限的本機使用者可利用此缺陷來損毀系統或提高自己的系統權限。
(CVE-2021-3640)

在 Linux SCTP 堆疊中發現一個缺陷。如果攻擊者知道所使用的 IP 位址和連接埠號碼,且攻擊者可傳送含有偽造 IP 位址的封包,則盲目式攻擊者可能會透過無效區塊終止現有的 SCTP 關聯。(CVE-2021-3772)

在 Linux 核心的 hugetlbfs 記憶體使用中發現記憶體流失缺陷,當使用者使用 shmget() 兩次對應部分記憶體區域,且由於部分記憶體頁面錯誤,這些區域對齊至 PUD 對齊時會發生此問題。透過利用此缺陷,本機使用者未經授權即可存取某些資料。(CVE-2021-4002)

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

i40e: 修復 VSI 篩選同步時的 NULL 指標解除參照問題 (CVE-2021-47184)

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

tty: tty_buffer: 修復 flush_to_ldisc 中的軟鎖死問題 (CVE-2021-47185)

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

btrfs: 修復正常工作函式和已排序工作函式之間的記憶體排序問題 (CVE-2021-47189)

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

scsi: lpfc: 修復 lpfc_drain_txq() 中的 list_add() 損毀問題 (CVE-2021-47203)

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

ocfs2: 修復從內嵌格式轉換後,導致資料損毀的問題 (CVE-2021-47460)

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

isofs: 修復讀取損毀的 isofs 影像時,發生的超出邊界存取問題 (CVE-2021-47478)

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

scsi: core: 在釋放 SCSI 裝置後,才釋放 LLD 模組的參照計數 (CVE-2021-47480)

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

regmap:修復 regcache_rbtree_exit() 中可能存在的重複釋放弱點 (CVE-2021-47483)

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

usbnet: maxpacket 的功能健全檢查 (CVE-2021-47495)

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

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

解決方案

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

另請參閱

https://alas.aws.amazon.com/AL2/ALAS-2025-2752.html

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

https://alas.aws.amazon.com/cve/html/CVE-2021-3640.html

https://alas.aws.amazon.com/cve/html/CVE-2021-3772.html

https://alas.aws.amazon.com/cve/html/CVE-2021-4002.html

https://alas.aws.amazon.com/cve/html/CVE-2021-47184.html

https://alas.aws.amazon.com/cve/html/CVE-2021-47185.html

https://alas.aws.amazon.com/cve/html/CVE-2021-47189.html

https://alas.aws.amazon.com/cve/html/CVE-2021-47203.html

https://alas.aws.amazon.com/cve/html/CVE-2021-47460.html

https://alas.aws.amazon.com/cve/html/CVE-2021-47478.html

https://alas.aws.amazon.com/cve/html/CVE-2021-47480.html

https://alas.aws.amazon.com/cve/html/CVE-2021-47483.html

https://alas.aws.amazon.com/cve/html/CVE-2021-47495.html

Plugin 詳細資訊

嚴重性: High

ID: 214972

檔案名稱: al2_ALAS-2025-2752.nasl

版本: 1.5

類型: local

代理程式: unix

已發布: 2025/2/4

已更新: 2025/5/22

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

風險資訊

VPR

風險因素: High

分數: 7.4

CVSS v2

風險因素: Medium

基本分數: 6.9

時間性分數: 5.4

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

CVSS 評分資料來源: CVE-2021-3640

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

CVSS 評分資料來源: CVE-2021-47483

弱點資訊

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.256-197.484, 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

修補程式發佈日期: 2025/1/30

弱點發布日期: 2021/7/21

參考資訊

CVE: CVE-2021-3640, CVE-2021-3772, CVE-2021-4002, CVE-2021-47184, CVE-2021-47185, CVE-2021-47189, CVE-2021-47203, CVE-2021-47460, CVE-2021-47478, CVE-2021-47480, CVE-2021-47483, CVE-2021-47495