RHEL 7:rh-python38 (RHSA-2021: 3254)

critical Nessus Plugin ID 152781

概要

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

說明

遠端 Redhat Enterprise Linux 7 主機上安裝的套件受到 RHSA-2021: 3254 公告中提及的多個弱點影響。

- python-cryptography:針對 RSA 解密的 Bleichenbacher timing oracle 攻擊 (CVE-2020-25659)

- python:對測試套件中透過 HTTP 擷取的資料以不安全的方式使用 eval() (CVE-2020-27619)

- python-lxml:因使用不當剖析器造成 mXSS (CVE-2020-27783)

- python-jinja2:urlize 篩選器中的 ReDoS 弱點 (CVE-2020-28493)

- python-cryptography:對稱加密的大量輸入可觸發整數溢位問題,進而導致緩衝區溢位 (CVE-2020-36242)

- python:透過在查詢參數中使用分號,經由 urllib.parse.parse_qsl 和 urllib.parse.parse_qs 造成 Web 快取毒害 (CVE-2021-23336)

- python-lxml:遺漏對 formaction HTML5 屬性的輸入清理可能導致 XSS (CVE-2021-28957)

- python-ipaddress:對八進位字串的輸入驗證不當 (CVE-2021-29921)

- python:_ctypes/callproc.c 的 PyCArg_repr 中存在堆疊型緩衝區溢位弱點 (CVE-2021-3177)

- python-urllib3: 剖析 URL 的授權部分時存在 ReDoS 弱點 (CVE-2021-33503)

- python:藉由 pydoc 造成資訊洩漏 (CVE-2021-3426)

- python-pip:未正確處理 git 參照中的 unicode 分隔符號 (CVE-2021-3572)

- python:urllib: AbstractBasicAuthHandler 中的規則運算式 DoS (CVE-2021-3733)

- python:ftplib 不應使用 PASV 回應中的主機 (CVE-2021-4189)

- python-babel:相對路徑遊走弱點允許攻擊者載入任意地區設定檔案並執行任意程式碼 (CVE-2021-42771)

- python:urllib.parse 未清理包含 ASCII 新行和索引標籤的 URL (CVE-2022-0391)

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

解決方案

更新受影響的套件。

另請參閱

https://access.redhat.com/security/cve/CVE-2020-25659

https://access.redhat.com/security/cve/CVE-2020-27619

https://access.redhat.com/security/cve/CVE-2020-27783

https://access.redhat.com/security/cve/CVE-2020-28493

https://access.redhat.com/security/cve/CVE-2020-36242

https://access.redhat.com/security/cve/CVE-2021-3177

https://access.redhat.com/security/cve/CVE-2021-3426

https://access.redhat.com/security/cve/CVE-2021-3572

https://access.redhat.com/security/cve/CVE-2021-3733

https://access.redhat.com/security/cve/CVE-2021-4189

https://access.redhat.com/security/cve/CVE-2021-23336

https://access.redhat.com/security/cve/CVE-2021-28957

https://access.redhat.com/security/cve/CVE-2021-29921

https://access.redhat.com/security/cve/CVE-2021-33503

https://access.redhat.com/security/cve/CVE-2021-42771

https://access.redhat.com/security/cve/CVE-2022-0391

https://access.redhat.com/errata/RHSA-2021:3254

https://bugzilla.redhat.com/1889886

https://bugzilla.redhat.com/1889988

https://bugzilla.redhat.com/1901633

https://bugzilla.redhat.com/1918168

https://bugzilla.redhat.com/1926226

https://bugzilla.redhat.com/1928707

https://bugzilla.redhat.com/1928904

https://bugzilla.redhat.com/1935913

https://bugzilla.redhat.com/1941534

https://bugzilla.redhat.com/1955615

https://bugzilla.redhat.com/1957458

https://bugzilla.redhat.com/1962856

https://bugzilla.redhat.com/1968074

https://bugzilla.redhat.com/1995234

https://bugzilla.redhat.com/2036020

https://bugzilla.redhat.com/2047376

Plugin 詳細資訊

嚴重性: Critical

ID: 152781

檔案名稱: redhat-RHSA-2021-3254.nasl

版本: 1.10

類型: local

代理程式: unix

已發布: 2021/8/24

已更新: 2024/1/16

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

風險資訊

VPR

風險因素: Medium

分數: 6.7

CVSS v2

風險因素: High

基本分數: 7.5

時間分數: 6.2

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

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

CVSS v3

風險因素: Critical

基本分數: 9.8

時間分數: 9.1

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

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

弱點資訊

CPE: cpe:/o:redhat:enterprise_linux:7, p-cpe:/a:redhat:enterprise_linux:rh-python38-python, p-cpe:/a:redhat:enterprise_linux:rh-python38-python-babel, p-cpe:/a:redhat:enterprise_linux:rh-python38-python-cryptography, p-cpe:/a:redhat:enterprise_linux:rh-python38-python-debug, p-cpe:/a:redhat:enterprise_linux:rh-python38-python-devel, p-cpe:/a:redhat:enterprise_linux:rh-python38-python-idle, p-cpe:/a:redhat:enterprise_linux:rh-python38-python-jinja2, p-cpe:/a:redhat:enterprise_linux:rh-python38-python-libs, p-cpe:/a:redhat:enterprise_linux:rh-python38-python-lxml, p-cpe:/a:redhat:enterprise_linux:rh-python38-python-pip, p-cpe:/a:redhat:enterprise_linux:rh-python38-python-pip-wheel, p-cpe:/a:redhat:enterprise_linux:rh-python38-python-rpm-macros, p-cpe:/a:redhat:enterprise_linux:rh-python38-python-srpm-macros, p-cpe:/a:redhat:enterprise_linux:rh-python38-python-test, p-cpe:/a:redhat:enterprise_linux:rh-python38-python-tkinter, p-cpe:/a:redhat:enterprise_linux:rh-python38-python-urllib3

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

可被惡意程式利用: true

可輕鬆利用: Exploits are available

修補程式發佈日期: 2021/8/24

弱點發布日期: 2020/10/22

參考資訊

CVE: CVE-2020-25659, CVE-2020-27619, CVE-2020-27783, CVE-2020-28493, CVE-2020-36242, CVE-2021-23336, CVE-2021-28957, CVE-2021-29921, CVE-2021-3177, CVE-2021-33503, CVE-2021-3426, CVE-2021-3572

CWE: 119, 120, 190, 20, 200, 22, 385, 400, 444, 74, 79, 835, 95

IAVA: 2021-A-0052-S, 2021-A-0263-S

RHSA: 2021:3254