RHEL 7:python27 (RHSA-2021: 3252)

critical Nessus 插件 ID 152778

简介

远程 Red Hat 主机缺少一个或多个安全更新。

描述

远程 Redhat Enterprise Linux 7 主机上安装的程序包受到 RHSA-2021: 3252 公告中提及的多个漏洞的影响。

- python:在测试套件中对通过 HTTP 检索的数据以不安全的方式使用 eval() (CVE-2020-27619)

- python-jinja2:urlize 过滤器中的 ReDoS 漏洞 (CVE-2020-28493)

- python-pygments:SML 词法分析器中的无限循环可能导致 DoS (CVE-2021-20270)

- python:通过在查询参数中使用分号,经由 urllib.parse.parse_qsl 和 urllib.parse.parse_qs 造成 Web 缓存中毒 (CVE-2021-23336)

- python-pygments:多个词法分析器中存在 ReDoS 漏洞 (CVE-2021-27291)

- python:_ctypes/callproc.c 中的 PyCArg_repr 存在基于堆栈的缓冲区溢出 (CVE-2021-3177)

- python-babel:相对路径遍历漏洞允许攻击者加载任意区域设置文件并执行任意代码 (CVE-2021-42771)

请注意,Nessus 尚未测试这些问题,而是只依据应用程序自我报告的版本号进行判断。

解决方案

更新受影响的程序包。

另见

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

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

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

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

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

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

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

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

https://bugzilla.redhat.com/1889886

https://bugzilla.redhat.com/1918168

https://bugzilla.redhat.com/1922136

https://bugzilla.redhat.com/1928707

https://bugzilla.redhat.com/1928904

https://bugzilla.redhat.com/1940603

https://bugzilla.redhat.com/1955615

插件详情

严重性: Critical

ID: 152778

文件名: redhat-RHSA-2021-3252.nasl

版本: 1.10

类型: local

代理: unix

发布时间: 2021/8/24

最近更新时间: 2024/1/16

支持的传感器: Frictionless Assessment AWS, Frictionless Assessment Azure, Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, 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:python27-babel, p-cpe:/a:redhat:enterprise_linux:python27-python, p-cpe:/a:redhat:enterprise_linux:python27-python-babel, p-cpe:/a:redhat:enterprise_linux:python27-python-debug, p-cpe:/a:redhat:enterprise_linux:python27-python-devel, p-cpe:/a:redhat:enterprise_linux:python27-python-jinja2, p-cpe:/a:redhat:enterprise_linux:python27-python-libs, p-cpe:/a:redhat:enterprise_linux:python27-python-pygments, p-cpe:/a:redhat:enterprise_linux:python27-python-test, p-cpe:/a:redhat:enterprise_linux:python27-python-tools, p-cpe:/a:redhat:enterprise_linux:python27-tkinter

必需的 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-27619, CVE-2020-28493, CVE-2021-20270, CVE-2021-23336, CVE-2021-27291, CVE-2021-3177

CWE: 120, 20, 22, 400, 444, 835, 95

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

RHSA: 2021:3252