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

medium Nessus Plugin ID 181954

概要

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

說明

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

- 在 python 中發現一個缺陷。在使用非二進位基底的二次時間複雜度演算法中,當使用 int(text) 時,系統可能需要 50 秒才能剖析具有 100,000 位數的 int 字串,而對於具有 1,000,000 位數的 int 字串,則需要 5 秒 (二進位基底爲 2、4、8、16 和 32 的 float、decimal、int.from_bytes() 和 int() 不受影響)。此弱點對系統可用性威脅最大。(CVE-2020-10735)

- 在 Python 3.9.1 及更低版本的 Lib/hmac.py 之 compare_digest 中發現一個問題。在 hmac.compare_digest 的 accumulator 變數中可能進行常數時間失敗最佳化。(CVE-2022-48566)

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

解決方案

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

另請參閱

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

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

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

https://alas.aws.amazon.com/cve/html/CVE-2022-48566.html

Plugin 詳細資訊

嚴重性: Medium

ID: 181954

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

版本: 1.2

類型: local

代理程式: unix

已發布: 2023/9/27

已更新: 2024/1/23

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

風險資訊

VPR

風險因素: Medium

分數: 4.4

CVSS v2

風險因素: Medium

基本分數: 5.4

時間分數: 4.2

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

CVSS 評分資料來源: CVE-2022-48566

CVSS v3

風險因素: Medium

基本分數: 5.9

時間分數: 5.3

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

時間媒介: CVSS:3.0/E:P/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

弱點發布日期: 2022/9/8

參考資訊

CVE: CVE-2020-10735, CVE-2022-48566