RHEL 8:python3 (RHSA-2024: 0586)

medium Nessus 插件 ID 189784

简介

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

描述

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

- heapq 中的 heappushpop 导致 3.9 及之前的 Python 存在释放后使用漏洞。(CVE-2022-48560)

- 在处理二进制格式的畸形 Apple 属性列表文件时,Python 的 plistlib.py 中的 read_ints 通过 3.9.1 很容易因 CPU 和 RAM 耗尽而受到潜在的 DoS 攻击。(CVE-2022-48564)

- Python 3.11.3 及其之前所有版本的电子邮件模块不会正确解析包含特殊字符的电子邮件地址。RFC2822 标头的错误部分会被识别为 addr-spec 的值。在某些应用程序中,攻击者可以绕过保护机制,而在保护机制中,只有验证收到发送至特定域的电子邮件后才会授予应用程序访问权限(例如,只有 @company.example.com 地址可用于注册)。最新版 Python 的 email/_parseaddr.py 中存在此问题。(CVE-2023-27043)

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

解决方案

更新 RHEL python3 程序包,依据 RHSA-2024: 0586 中的指南。

另见

http://www.nessus.org/u?181a1bb7

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

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

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

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

https://access.redhat.com/errata/RHSA-2024:0586

插件详情

严重性: Medium

ID: 189784

文件名: redhat-RHSA-2024-0586.nasl

版本: 1.1

类型: local

代理: unix

发布时间: 2024/1/30

最近更新时间: 2024/4/28

支持的传感器: Agentless Assessment, Frictionless Assessment Agent, Frictionless Assessment AWS, Frictionless Assessment Azure, Nessus Agent, Nessus

风险信息

VPR

风险因素: Medium

分数: 4.4

CVSS v2

风险因素: Medium

基本分数: 5

时间分数: 3.9

矢量: CVSS2#AV:N/AC:L/Au:N/C:N/I:P/A:N

CVSS 分数来源: CVE-2023-27043

CVSS v3

风险因素: Medium

基本分数: 5.3

时间分数: 4.8

矢量: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

时间矢量: CVSS:3.0/E:P/RL:O/RC:C

漏洞信息

CPE: cpe:/o:redhat:rhel_eus:8.8, p-cpe:/a:redhat:enterprise_linux:platform-python, p-cpe:/a:redhat:enterprise_linux:platform-python-debug, p-cpe:/a:redhat:enterprise_linux:platform-python-devel, p-cpe:/a:redhat:enterprise_linux:python3, p-cpe:/a:redhat:enterprise_linux:python3-idle, p-cpe:/a:redhat:enterprise_linux:python3-libs, p-cpe:/a:redhat:enterprise_linux:python3-test, p-cpe:/a:redhat:enterprise_linux:python3-tkinter

必需的 KB 项: Host/local_checks_enabled, Host/RedHat/release, Host/RedHat/rpm-list, Host/cpu

可利用: true

易利用性: Exploits are available

补丁发布日期: 2024/1/30

漏洞发布日期: 2020/7/31

参考资料信息

CVE: CVE-2022-48560, CVE-2022-48564, CVE-2023-27043

CWE: 20, 400, 416

RHSA: 2024:0586