Ubuntu 14.04 LTS / 16.04 LTS:Python 弱點 (USN-3134-1)

critical Nessus Plugin ID 95284

概要

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

說明

據發現,Python 中的 smtplib 程式庫在 StartTLS 失敗時未傳回錯誤。遠端攻擊者可能會利用此弱點洩漏敏感資訊。(CVE-2016-0772)

Remi Rampin 發現,當以來自 HTTP 要求的 Proxy 標頭內容為基礎時,Python 不會保護來自 HTTP_PROXY 環境變數的內容的 CGI 應用程式。遠端攻擊者可能會利用此弱點造成 CGI 應用程式重新導向傳出 HTTP 要求。(CVE-2016-1000110)

Insu Yun 發現 Python 中,zipimporter 模組中的整數溢位可導致堆積型溢位。攻擊者可利用此弱點來特製 zip 檔案,而當 Python 讀取此檔案時可能會執行任意程式碼。(CVE-2016-5636)

Guido Vranken 發現 Python 中的 urllib 模組未正確處理標頭中的歸位換行 (CRLF)。遠端攻擊者可利用此弱點來特製可插入任意 HTTP 標頭的 URL。此問題僅影響了 Ubuntu 12.04 LTS 和 Ubuntu 14.04 LTS。(CVE-2016-5699)。

請注意,Tenable Network Security 已直接從 Ubuntu 安全性公告擷取前述描述區塊。Tenable 已盡量在不造成其他問題的前提下,嘗試自動清理並將其格式化。

解決方案

更新受影響的套件。

另請參閱

https://ubuntu.com/security/notices/USN-3134-1

Plugin 詳細資訊

嚴重性: Critical

ID: 95284

檔案名稱: ubuntu_USN-3134-1.nasl

版本: 3.9

類型: local

代理程式: unix

已發布: 2016/11/23

已更新: 2023/10/20

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

風險資訊

VPR

風險因素: Medium

分數: 6.7

CVSS v2

風險因素: Critical

基本分數: 10

時間分數: 7.8

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

CVSS 評分資料來源: CVE-2016-5636

CVSS v3

風險因素: Critical

基本分數: 9.8

時間分數: 8.8

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

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

弱點資訊

CPE: p-cpe:/a:canonical:ubuntu_linux:libpython2.7, p-cpe:/a:canonical:ubuntu_linux:libpython2.7-stdlib, p-cpe:/a:canonical:ubuntu_linux:libpython2.7-testsuite, p-cpe:/a:canonical:ubuntu_linux:python3.4-venv, cpe:/o:canonical:ubuntu_linux:16.04:-:lts, p-cpe:/a:canonical:ubuntu_linux:libpython3.5-dev, p-cpe:/a:canonical:ubuntu_linux:python2.7-dev, p-cpe:/a:canonical:ubuntu_linux:python3.4, p-cpe:/a:canonical:ubuntu_linux:libpython3.4-minimal, p-cpe:/a:canonical:ubuntu_linux:libpython3.5-stdlib, p-cpe:/a:canonical:ubuntu_linux:python2.7, p-cpe:/a:canonical:ubuntu_linux:libpython3.4, p-cpe:/a:canonical:ubuntu_linux:python3.5-examples, p-cpe:/a:canonical:ubuntu_linux:idle-python3.5, p-cpe:/a:canonical:ubuntu_linux:python3.5, p-cpe:/a:canonical:ubuntu_linux:libpython3.5-minimal, p-cpe:/a:canonical:ubuntu_linux:idle-python3.4, p-cpe:/a:canonical:ubuntu_linux:libpython3.5, p-cpe:/a:canonical:ubuntu_linux:libpython3.5-testsuite, p-cpe:/a:canonical:ubuntu_linux:python3.4-dev, p-cpe:/a:canonical:ubuntu_linux:python3.5-dev, p-cpe:/a:canonical:ubuntu_linux:idle-python2.7, p-cpe:/a:canonical:ubuntu_linux:libpython2.7-dev, p-cpe:/a:canonical:ubuntu_linux:python3.4-minimal, p-cpe:/a:canonical:ubuntu_linux:python3.5-venv, p-cpe:/a:canonical:ubuntu_linux:libpython2.7-minimal, p-cpe:/a:canonical:ubuntu_linux:python3.5-minimal, p-cpe:/a:canonical:ubuntu_linux:libpython3.4-dev, p-cpe:/a:canonical:ubuntu_linux:python3.4-examples, cpe:/o:canonical:ubuntu_linux:14.04:-:lts, p-cpe:/a:canonical:ubuntu_linux:libpython3.4-testsuite, p-cpe:/a:canonical:ubuntu_linux:python2.7-minimal, p-cpe:/a:canonical:ubuntu_linux:libpython3.4-stdlib, p-cpe:/a:canonical:ubuntu_linux:python2.7-examples

必要的 KB 項目: Host/cpu, Host/Debian/dpkg-l, Host/Ubuntu, Host/Ubuntu/release

可被惡意程式利用: true

可輕鬆利用: Exploits are available

修補程式發佈日期: 2016/11/22

弱點發布日期: 2016/9/2

參考資訊

CVE: CVE-2016-0772, CVE-2016-1000110, CVE-2016-5636, CVE-2016-5699

USN: 3134-1