FreeBSD:Python -- socket.recvfrom_into() 中的緩衝區溢位 (8e5e6d42-a0fa-11e3-b09a-080027f2d077)

high Nessus Plugin ID 72768

概要

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

說明

Vincent Danen 透過 Red Hat Issue Tracker 報告:

據報告,Python 的通訊端模組中有一個弱點,原因是 sock_recvfrom_into() 函式的邊界錯誤,該弱點可因遭惡意利用而造成緩衝區溢位。攻擊者可利用此弱點,造成使用 socket.recvfrom_info() 函式的 Python 應用程式損毀,或可能利用執行有弱點的 Python 程式碼之使用者權限來執行任意程式碼。

Python 2.5 中已引入這個有弱點的函式 socket.recvfrom_into()。之前版本不會受到此瑕疵影響。

解決方案

更新受影響的套件。

另請參閱

https://mail.python.org/pipermail/python-dev/2014-February/132758.html

https://bugs.python.org/issue20246

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

http://www.nessus.org/u?6792d6b5

Plugin 詳細資訊

嚴重性: High

ID: 72768

檔案名稱: freebsd_pkg_8e5e6d42a0fa11e3b09a080027f2d077.nasl

版本: 1.10

類型: local

已發布: 2014/3/3

已更新: 2021/1/6

支援的感應器: Nessus

風險資訊

VPR

風險因素: Medium

分數: 6.4

CVSS v2

風險因素: High

基本分數: 7.5

時間分數: 5.9

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

弱點資訊

CPE: p-cpe:/a:freebsd:freebsd:python27, p-cpe:/a:freebsd:freebsd:python31, p-cpe:/a:freebsd:freebsd:python32, p-cpe:/a:freebsd:freebsd:python33, cpe:/o:freebsd:freebsd

必要的 KB 項目: Host/local_checks_enabled, Host/FreeBSD/release, Host/FreeBSD/pkg_info

可被惡意程式利用: true

可輕鬆利用: Exploits are available

修補程式發佈日期: 2014/3/1

弱點發布日期: 2014/1/14

參考資訊

CVE: CVE-2014-1912

BID: 65379