Amazon Linux 2:policycoreutils (ALAS-2026-3949)

medium Nessus Plugin ID 351023

概要

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

說明

遠端主機上安裝的 policycoreutils 版本早於 2.5-22。因此,它會受到 ALAS2-2026-3949 公告中提及的一個弱點影響。

在 policycoreutils 的 fixfiles 指令碼中發現 TOCTOU (Time-of-Check-Time-of-Use) 爭用情形弱點。執行 fixfiles relabel 或 fixfiles restore 時,指令碼會使用 find 和 chcon 命令來尋找並重新標記 /tmp 及其他目錄下的未標記檔案。本機攻擊者可利用檔案發現與標籤變更作業之間的爭用視窗,方法是將目錄元件與符號連結交換,導致 chcon 遵循符號連結並修改任意系統檔案上的 SELinux 標籤。這可能會破壞 SELinux 對重要檔案 (例如 /etc/shadow) 的強制存取控制保護。(CVE-2026-19079)

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

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

解決方案

執行 'yum update policycoreutils' 或 'yum update --advisory ALAS2-2026-3949' 以更新您的系統。

另請參閱

https://alas.aws.amazon.com//AL2/ALAS2-2026-3949.html

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

https://explore.alas.aws.amazon.com/CVE-2026-19079.html

Plugin 詳細資訊

嚴重性: Medium

ID: 351023

檔案名稱: al2_ALAS-2026-3949.nasl

版本: 1.1

類型: Local

代理程式: unix

已發布: 2026/9/29

已更新: 2026/9/29

支援的感應器: Frictionless Assessment AWS, Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Continuous Assessment, Tenable Cloud Security, Tenable Self-Hosted Container Security, Nessus

風險資訊

VPR

風險因素: Low

分數: 3

百分位數: 23.76

CVSS v2

風險因素: Low

基本分數: 3.8

時間性分數: 2.8

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

CVSS 評分資料來源: CVE-2026-19079

CVSS v3

風險因素: Medium

基本分數: 4.4

時間性分數: 3.9

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

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

弱點資訊

CPE: cpe:/o:amazon:linux:2, p-cpe:/a:amazon:linux:policycoreutils-debuginfo, p-cpe:/a:amazon:linux:policycoreutils-devel, p-cpe:/a:amazon:linux:policycoreutils-gui, p-cpe:/a:amazon:linux:policycoreutils-newrole, p-cpe:/a:amazon:linux:policycoreutils-python, p-cpe:/a:amazon:linux:policycoreutils-restorecond, p-cpe:/a:amazon:linux:policycoreutils-sandbox, p-cpe:/a:amazon:linux:policycoreutils

必要的 KB 項目: Host/local_checks_enabled, Host/AmazonLinux/release, Host/AmazonLinux/rpm-list

可輕鬆利用: No known exploits are available

修補程式發佈日期: 2026/9/28

弱點發布日期: 2026/8/7

參考資訊

CVE: CVE-2026-19079