RHEL 8:python3.11 (RHSA-2023: 7024)

high Nessus Plugin ID 185652

概要

遠端 Red Hat 主機缺少一個或多個安全性更新。

說明

遠端 Redhat Enterprise Linux 8 主機上安裝的套件受到 RHSA-2023: 7024 公告中提及的一個弱點影響。

- 在 Python 的 tarfile 模組中,(1) extract 和 (2) extractall 函式存在目錄遊走弱點,由使用者協助的遠端攻擊者可以透過 TAR 封存中檔案名稱中的 .. (點點) 序列覆寫任意檔案,此問題與 CVE-2001-1267 有關。(CVE-2007-4559)

- 在 Python 3.11 版到 3.11.4 版中發現一個問題。如果將包含「\0」位元組的路徑傳遞至 os.path.normpath(),則路徑會在第一個「\0」位元組意外截斷。在某些看似合理的情況下,應用程式會因為安全性原因,在 Python 3.10.x 或更舊版本中拒絕檔案名稱,但在 Python 3.11.x 版中不再拒絕該檔案名稱。(CVE-2023-41105)

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

解決方案

更新受影響的套件。

另請參閱

https://bugzilla.redhat.com/show_bug.cgi?id=2235795

https://bugzilla.redhat.com/show_bug.cgi?id=263261

https://access.redhat.com/errata/RHSA-2023:7024

http://www.nessus.org/u?3348b9b9

http://www.nessus.org/u?819248f8

https://access.redhat.com/security/updates/classification/#moderate

https://bugzilla.redhat.com/show_bug.cgi?id=2207631

Plugin 詳細資訊

嚴重性: High

ID: 185652

檔案名稱: redhat-RHSA-2023-7024.nasl

版本: 1.1

類型: local

代理程式: unix

已發布: 2023/11/14

已更新: 2024/4/28

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

風險資訊

VPR

風險因素: Medium

分數: 4.4

CVSS v2

風險因素: Medium

基本分數: 6.8

時間分數: 5.3

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

CVSS 評分資料來源: CVE-2007-4559

CVSS v3

風險因素: High

基本分數: 7.5

時間分數: 6.7

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

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

CVSS 評分資料來源: CVE-2023-41105

弱點資訊

CPE: cpe:/o:redhat:enterprise_linux:8, p-cpe:/a:redhat:enterprise_linux:python3.11, p-cpe:/a:redhat:enterprise_linux:python3.11-debug, p-cpe:/a:redhat:enterprise_linux:python3.11-devel, p-cpe:/a:redhat:enterprise_linux:python3.11-idle, p-cpe:/a:redhat:enterprise_linux:python3.11-libs, p-cpe:/a:redhat:enterprise_linux:python3.11-rpm-macros, p-cpe:/a:redhat:enterprise_linux:python3.11-test, p-cpe:/a:redhat:enterprise_linux:python3.11-tkinter

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

可被惡意程式利用: true

可輕鬆利用: Exploits are available

修補程式發佈日期: 2023/11/14

弱點發布日期: 2007/8/27

參考資訊

CVE: CVE-2007-4559, CVE-2023-41105

CWE: 158, 22

RHSA: 2023:7024