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

critical Nessus 插件 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 压缩 HTTP 响应的大小。恶意 XMLRPC 服务器可以导致使用 xmlrpclib 的 XMLRPC 客户端消耗过多内存。(CVE-2013-1753)

已发现实现网络协议(例如 httplib 或 smtplib)的多个 Python 标准库模块无法限制服务器响应的大小。恶意服务器可导致使用其中一个受影响模块的客户端消耗过多内存。(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

插件详情

严重性: 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