Amazon Linux 2:python38 (ALASPYTHON3.8-2023-009)

critical Nessus Plugin ID 182009

概要

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

說明

遠端主機上安裝的 python38 為 3.8.5-1 之前版本。因此,會受到 ALAS2PYTHON3.8-2023-009 公告中所提及的多個弱點影響。

- 對於在 Microsoft Windows Server 2003 SP2、Windows Vista SP2、Windows Server 2008 SP2 和 R2 SP1、Windows 7 SP1、Windows 8、Windows 8.1、Windows Server 2012 Gold 和 R2,以及 Windows RT Gold 和 8.1 的核心模式驅動程式中,cng.sys (即新一代密碼編譯驅動程式) 內的 CryptProtectMemory 函式 ,當使用 CRYPTPROTECTMEMORY_SAME_LOGON 選項時,不會檢查模擬 token 的層級,進而允許本機使用者利用 (1) 具有 named-pipe 植入弱點或 (2) 針對加密資料使用任何人皆可讀取的共用記憶體,此弱點又名 CNG 安全性功能繞過弱點或 MSRC ID 20707。(CVE-2015-0010)

- 在 Python 3 3.9.0 之前版本中,Lib/test/multibytecodec_support.py CJK 轉碼器測試會針對透過 HTTP 擷取的內容呼叫 eval()。(CVE-2020-27619)

- 在 Python G263.9.5 之前的版本中,ipaddress 程式庫未正確處理 IP 位址字串八位元中的前置零字元。在某些情況下,攻擊者可利用此問題繞過以 IP 位址為基礎的存取控制。(CVE-2021-29921)

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

解決方案

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

另請參閱

https://alas.aws.amazon.com/AL2/ALASPYTHON3.8-2023-009.html

https://alas.aws.amazon.com/cve/html/CVE-2015-0010.html

https://alas.aws.amazon.com/cve/html/CVE-2020-27619.html

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

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

Plugin 詳細資訊

嚴重性: Critical

ID: 182009

檔案名稱: al2_ALASPYTHON3_8-2023-009.nasl

版本: 1.1

類型: local

代理程式: unix

已發布: 2023/9/27

已更新: 2023/9/28

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

風險資訊

VPR

風險因素: Medium

分數: 6.7

CVSS v2

風險因素: High

基本分數: 7.5

時間分數: 6.5

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

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

CVSS v3

風險因素: Critical

基本分數: 9.8

時間分數: 9.4

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

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

弱點資訊

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

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

可被惡意程式利用: true

可輕鬆利用: Exploits are available

修補程式發佈日期: 2023/8/21

弱點發布日期: 2015/2/10

參考資訊

CVE: CVE-2015-0010, CVE-2020-27619, CVE-2021-29921

IAVA: 2021-A-0263-S