Amazon Linux 2:核心 (ALAS-2021-1719)

high Nessus Plugin ID 154914

概要

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

說明

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

在 Linux 核心中發現一個缺陷。損壞的計時器樹導致 lib/timerqueue.c 中的 timerqueue_add 函數中缺少工作喚醒。此缺陷允許具有特殊使用者權限的本機攻擊者造成拒絕服務的狀況,進而在執行 OSP 時減慢並最終停止系統。此弱點對系統可用性威脅最大。(CVE-2021-20317)

在使用者使用 OverlayFS 以特定方式重新命名的方式中,發現存取 Linux 核心 OverlayFS 子系統中檔案物件的爭用情形。本機使用者可能會利用此缺陷造成系統當機。
(CVE-2021-20321)

在 Linux 核心的 USB 高速行動裝置功能中,發現使用者卸離 USB 裝置的方式中存在釋放後使用瑕疵。本機使用者可利用此瑕疵來損毀系統或提高自己的系統權限。(CVE-2021-37159)

在 Linux 核心中發現一個缺陷。ccp-ops crypto 驅動程式中的記憶體洩漏可允許攻擊者造成拒絕服務。此弱點與舊版 CVE-2019-18808 類似。此弱點對系統可用性威脅最大。(CVE-2021-3744)

在 Linux 核心的 ccp_run_aes_gcm_cmd() 函式中發現記憶體洩漏弱點,攻擊者可藉此造成拒絕服務。此弱點與早先的 CVE-2019-18808 類似。此弱點對系統可用性威脅最大。(CVE-2021-3764)

在 Linux 核心中發現一個缺陷。cBPF JIT 編譯器可產生具有錯誤分支的機器程式碼。此瑕疵允許非特權的使用者製作異常機器碼,控制流程在此碼遭到劫持,進而執行任意核心程式碼。此弱點對於機密性、完整性以及系統可用性的威脅最大。(CVE-2021-38300)

在 Linux 核心的 bpf 中,在 kernel/bpf/stackmap.c 的 prealloc_elems_and_freelist 中發現超出邊界 (OOB) 記憶體寫入瑕疵。在此瑕疵中,計算大小的乘法可能導致整數溢位,允許具有特殊使用者權限的本機攻擊者取得超出邊界記憶體的存取權,進而導致系統當機或內部核心洩漏資訊。(CVE-2021-41864)

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

irqchip/gic-v3-its:修正發生錯誤時潛在的 VPE 洩漏問題 (CVE-2021-47373)

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

blktrace:修正 sysfs 移除後 blk_trace 存取中的 uaf (CVE-2021-47375)

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

tty:修正 imageblit 中的超出邊界 vmalloc 存取 (CVE-2021-47383)

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

cpufreq:schedutil:使用 kobject release() 方法釋放 sugov_tunables (CVE-2021-47387)

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

sctp: 若 skb_header_pointer 在 sctp_rcv_ootb() 中回傳 NULL,則中斷並離開處理程序 (CVE-2021-47397)

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

HID:betop:修正 betop_probe 中的 slab-out-of-bounds 寫入 (CVE-2021-47404)

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

HID: usbhid: 在 usbhid_stop() 中釋放 raw_report 緩衝區 (CVE-2021-47405)

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

phy: mdio: 修復記憶體流失 (CVE-2021-47416)

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

net_sched: 修復 fifo_set_limit() 中的 NULL 指標解除參照錯誤 (CVE-2021-47418)

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

i2c: acpi: 修復新增重新設定裝置時的資源洩漏問題 (CVE-2021-47425)

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

xhci: 修復中止命令時造成的命令環指標損毀問題 (CVE-2021-47434)

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

nvmem:使用位元組大小儲存格修正 shift-out-of-bound (CVE-2021-47497)

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

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

解決方案

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

另請參閱

https://alas.aws.amazon.com/AL2/ALAS-2021-1719.html

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Plugin 詳細資訊

嚴重性: High

ID: 154914

檔案名稱: al2_ALAS-2021-1719.nasl

版本: 1.10

類型: local

代理程式: unix

已發布: 2021/11/5

已更新: 2025/5/22

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

風險資訊

VPR

風險因素: Medium

分數: 6.7

CVSS v2

風險因素: High

基本分數: 7.2

時間性分數: 5.6

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

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

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-47404

弱點資訊

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.252-195.481, 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

修補程式發佈日期: 2021/10/28

弱點發布日期: 2019/11/7

參考資訊

CVE: CVE-2021-20317, CVE-2021-20321, CVE-2021-37159, CVE-2021-3744, CVE-2021-3764, CVE-2021-38300, CVE-2021-41864, CVE-2021-47373, CVE-2021-47375, CVE-2021-47383, CVE-2021-47387, CVE-2021-47397, CVE-2021-47404, CVE-2021-47405, CVE-2021-47416, CVE-2021-47418, CVE-2021-47425, CVE-2021-47434, CVE-2021-47497

ALAS: 2021-1719