Amazon Linux 2:python (ALAS-2025-2961)

high Nessus Plugin ID 252307

概要

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

說明

遠端主機上安裝的 python 版本是 2.7.18-1 之前版本。因此,它會受到 ALAS2-2025-2961 公告中提及的一個弱點影響。

CPython tarfile 模組中存在一個缺失會影響 TarFile 擷取和項目列舉 API。tar 實作會無錯誤地處理具有負位移的 tar 封存進而在剖析惡意特製的 tar 封存期間導致無限迴圈和鎖死。

可在匯入 tarfile 模組之後包含下列修補程式以減輕此弱點
https://gist.github.com/sethmlarson/1716ac5b82b73dbcbf23ad2eff8b33e1 (CVE-2025-8194)

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

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

解決方案

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

另請參閱

https://alas.aws.amazon.com//AL2/ALAS2-2025-2961.html

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

https://explore.alas.aws.amazon.com/CVE-2025-8194.html

Plugin 詳細資訊

嚴重性: High

ID: 252307

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

版本: 1.1

類型: local

代理程式: unix

已發布: 2025/8/19

已更新: 2025/8/19

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

風險資訊

VPR

風險因素: Medium

分數: 4.4

CVSS v2

風險因素: High

基本分數: 7.8

時間性分數: 5.8

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

CVSS 評分資料來源: CVE-2025-8194

CVSS v3

風險因素: High

基本分數: 7.5

時間性分數: 6.5

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

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

弱點資訊

CPE: cpe:/o:amazon:linux:2, p-cpe:/a:amazon:linux:tkinter, p-cpe:/a:amazon:linux:python-tools, p-cpe:/a:amazon:linux:python-devel, p-cpe:/a:amazon:linux:python-test, p-cpe:/a:amazon:linux:python, p-cpe:/a:amazon:linux:python-libs, p-cpe:/a:amazon:linux:python-debuginfo, p-cpe:/a:amazon:linux:python-debug

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

可輕鬆利用: No known exploits are available

修補程式發佈日期: 2025/8/19

弱點發布日期: 2025/7/28

參考資訊

CVE: CVE-2025-8194