RHEL 6/7:python27 (RHSA-2015:1064)

critical Nessus Plugin ID 210167

概要

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

說明

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

Python 是經過解譯的互動式物件導向程式設計語言,支援模組、類別、例外狀況、高階的動態資料類型,以及動態輸入。python27 集合提供穩定的 Python 2.7 版本,內含數個適用於 MySQL 和 PostgreSQL 的額外公用程式和資料庫連接器。

python27-python 套件已升級至 2.7.8 上游版本,相較於先前的版本,此版本提供數個錯誤修正。(BZ#1167912)

下列安全性問題已在 python27-python 元件中修正:

據發現,socket.recvfrom_into() 函式無法檢查所提供之緩衝區的大小。呼叫緩衝區大小不足的函式時,這可能會導致緩衝區溢位。
(CVE-2014-1912)

據發現,Python xmlrpclib 模組並未限制 gzip-compressed HTTP 回應的大小。惡意 XMLRPC 伺服器可讓使用 xmlrpclib 的 XMLRPC 用戶端消耗大量記憶體。(CVE-2013-1753)

據發現,多個 Python 標準程式庫模組實作網路通訊協定 (例如 httplib 或 smtplib) 無法限制伺服器回應大小。惡意的伺服器可造成使用其中一個受影響模組的用戶端耗用過量記憶體。(CVE-2013-1752)

據發現,CGIHTTPServer 模組會不正確地處理 URL 編碼的路徑。遠端攻擊者可利用此缺陷執行 cgi-bin 目錄之外的指令碼,或洩漏 cgi-bin 目錄中指令碼的來源程式碼。(CVE-2014-4650)

在 buffer() 函式處理其位移和大小引數的方式中發現一個整數溢位瑕疵。能夠控制這些引數的攻擊者可利用此缺陷洩漏部分的應用程式記憶體,或使其損毀。(CVE-2014-7185)

下列安全性問題已在 python27-python 和 python27-python-simplejson 元件中修正:

json 模組在處理傳送至某些函式 (如 raw_decode()) 的負索引引數時,出現一個瑕疵。攻擊者若能夠控制傳遞至其中一個受影響函式的索引值,便可能利用此缺陷,洩漏部分的應用程式記憶體。(CVE-2014-4616)

此外,此更新還新增了下列增強功能:

* python27 軟體集合現在包含 python-wheel 和 python-pip 模組。(BZ#994189、BZ#1167902)

建議所有 python27 使用者皆升級至這些更新版套件,其可更正這些問題並新增這些增強功能。必須重新啟動所有執行中的 python27 執行個體,此更新才會生效。

Tenable 已直接從 Red Hat Enterprise Linux 安全公告擷取前置描述區塊。

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

解決方案

更新受影響的套件。

另請參閱

http://www.nessus.org/u?01b2f050

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

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

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

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

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

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

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

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

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

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

https://access.redhat.com/errata/RHSA-2015:1064

Plugin 詳細資訊

嚴重性: Critical

ID: 210167

檔案名稱: redhat-RHSA-2015-1064.nasl

版本: 1.3

類型: local

代理程式: unix

已發布: 2024/11/4

已更新: 2025/4/15

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

風險資訊

VPR

風險因素: Medium

分數: 6.7

Vendor

Vendor Severity: Moderate

CVSS v2

風險因素: High

基本分數: 7.5

時間性分數: 6.5

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

CVSS 評分資料來源: CVE-2014-4650

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:redhat:enterprise_linux:python27-python-wheel, p-cpe:/a:redhat:enterprise_linux:python27-python, p-cpe:/a:redhat:enterprise_linux:python27-scldevel, p-cpe:/a:redhat:enterprise_linux:python27-python-pip, cpe:/o:redhat:enterprise_linux:7, p-cpe:/a:redhat:enterprise_linux:python27-tkinter, cpe:/o:redhat:enterprise_linux:6, p-cpe:/a:redhat:enterprise_linux:python27, p-cpe:/a:redhat:enterprise_linux:python27-python-devel, p-cpe:/a:redhat:enterprise_linux:python27-python-simplejson, p-cpe:/a:redhat:enterprise_linux:python27-python-debug, p-cpe:/a:redhat:enterprise_linux:python27-python-setuptools, p-cpe:/a:redhat:enterprise_linux:python27-python-tools, p-cpe:/a:redhat:enterprise_linux:python27-python-test, p-cpe:/a:redhat:enterprise_linux:python27-python-libs, p-cpe:/a:redhat:enterprise_linux:python27-runtime

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

可被惡意程式利用: true

可輕鬆利用: Exploits are available

修補程式發佈日期: 2015/6/4

弱點發布日期: 2013/9/15

參考資訊

CVE: CVE-2013-1752, CVE-2013-1753, CVE-2014-1912, CVE-2014-4616, CVE-2014-4650, CVE-2014-7185

CWE: 119, 120, 138, 200, 400

RHSA: 2015:1064