RHEL 8:python39:3.9 (RHSA-2025:23530)

medium Nessus 插件 ID 279048

简介

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

描述

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

Python 是一种解释型、交互式、面向对象的编程语言,包括模块、类、异常、非常高层次的动态数据类型,以及动态输入。Python 支持许多系统调用、库,以及各种窗口系统的接口。

安全修复:

* python使用 NPN 时OpenSSL API 的无效值可能导致缓冲区过度读取 (CVE-2024-5642)

* python:虚拟环境 (venv) 激活脚本不引用路径 (CVE-2024-9287)

* python:未正确验证 IPv6 和 IPvFuture 地址 (CVE-2024-11168)

* python:cpython:URL 解析器允许域名中存在方括号 (CVE-2025-0938)

* cpythonpythonCPython DecodeError 处理漏洞 (CVE-2025-4516)

* cpython:当 errorlevel=0 时,Tarfile 会提取已过滤成员 (CVE-2025-4435)

* cpython:python:绕过提取过滤器以链接外部提取目录 (CVE-2025-4330)

* python:cpython:通过 tarfile realpath 溢出实现任意写入 (CVE-2025-4517)

* cpython:python:绕过提取过滤器,为提取目录外的任意目标创建符号链接 (CVE-2025-4138)

* cpythonPython HTMLParser 二次方复杂性 (CVE-2025-6069)

* cpythonpythonPython zipfile 中央目录结尾 (EOCD) 未检查定位器记录偏移 (CVE-2025-8291)

* python具有用户控制模板的 os.path.expandvars() 中的二次方复杂性 (CVE-2025-6075)

有关上述安全问题的更多详细信息,包括其影响、CVSS 得分、致谢,以及其他相关信息,请参阅列于“参考”部分的 CVE 页面。

Tenable 已直接从 Red Hat Enterprise Linux 安全公告中提取上述描述块。

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

解决方案

请根据 RHSA-2025:23530 中的指南更新 RHEL python39:3.9 程序包。

另见

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

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

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

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

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

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

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

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

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

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

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

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

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

https://issues.redhat.com/browse/RHEL-128539

http://www.nessus.org/u?b04e29d9

https://access.redhat.com/errata/RHSA-2025:23530

插件详情

严重性: Medium

ID: 279048

文件名: redhat-RHSA-2025-23530.nasl

版本: 1.1

类型: local

代理: unix

发布时间: 2025/12/18

最近更新时间: 2025/12/18

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

风险信息

VPR

风险因素: Medium

分数: 6.7

Vendor

Vendor Severity: Important

CVSS v2

风险因素: Medium

基本分数: 6.8

时间分数: 5

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

CVSS 分数来源: CVE-2024-9287

CVSS v3

风险因素: High

基本分数: 7.8

时间分数: 6.8

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

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

CVSS v4

风险因素: Medium

Base Score: 6.3

Threat Score: 1.7

Threat Vector: CVSS:4.0/E:U

Vector: CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N

CVSS 分数来源: CVE-2025-0938

漏洞信息

CPE: p-cpe:/a:redhat:enterprise_linux:python39-tkinter, p-cpe:/a:redhat:enterprise_linux:python39-requests, p-cpe:/a:redhat:enterprise_linux:python39-iniconfig, p-cpe:/a:redhat:enterprise_linux:python3x-pip, cpe:/o:redhat:rhel_eus:8.10, p-cpe:/a:redhat:enterprise_linux:python39-ply, p-cpe:/a:redhat:enterprise_linux:python39, p-cpe:/a:redhat:enterprise_linux:python-psutil, p-cpe:/a:redhat:enterprise_linux:python39-cffi, p-cpe:/a:redhat:enterprise_linux:python39-lxml, p-cpe:/a:redhat:enterprise_linux:python39-devel, p-cpe:/a:redhat:enterprise_linux:python39-pyyaml, p-cpe:/a:redhat:enterprise_linux:python39-wheel, p-cpe:/a:redhat:enterprise_linux:python-packaging, p-cpe:/a:redhat:enterprise_linux:python3x-setuptools, p-cpe:/a:redhat:enterprise_linux:python-ply, p-cpe:/a:redhat:enterprise_linux:python39-numpy-doc, p-cpe:/a:redhat:enterprise_linux:python39-cryptography, p-cpe:/a:redhat:enterprise_linux:python-requests, p-cpe:/a:redhat:enterprise_linux:python-iniconfig, p-cpe:/a:redhat:enterprise_linux:python39-pyparsing, p-cpe:/a:redhat:enterprise_linux:python39-packaging, p-cpe:/a:redhat:enterprise_linux:python39-setuptools, p-cpe:/a:redhat:enterprise_linux:python39-pytest, p-cpe:/a:redhat:enterprise_linux:python39-attrs, p-cpe:/a:redhat:enterprise_linux:python39-mod_wsgi, p-cpe:/a:redhat:enterprise_linux:python39-cython, p-cpe:/a:redhat:enterprise_linux:pyyaml, p-cpe:/a:redhat:enterprise_linux:python39-idle, p-cpe:/a:redhat:enterprise_linux:python-pymysql, p-cpe:/a:redhat:enterprise_linux:python-wcwidth, p-cpe:/a:redhat:enterprise_linux:python-lxml, p-cpe:/a:redhat:enterprise_linux:pybind11, p-cpe:/a:redhat:enterprise_linux:python39-libs, p-cpe:/a:redhat:enterprise_linux:python-urllib3, p-cpe:/a:redhat:enterprise_linux:python39-pip, cpe:/o:redhat:enterprise_linux:8, p-cpe:/a:redhat:enterprise_linux:python39-numpy-f2py, p-cpe:/a:redhat:enterprise_linux:python-cffi, p-cpe:/a:redhat:enterprise_linux:python-idna, p-cpe:/a:redhat:enterprise_linux:python39-idna, p-cpe:/a:redhat:enterprise_linux:python39-urllib3, p-cpe:/a:redhat:enterprise_linux:python39-pysocks, p-cpe:/a:redhat:enterprise_linux:python39-psycopg2-tests, p-cpe:/a:redhat:enterprise_linux:python39-pluggy, p-cpe:/a:redhat:enterprise_linux:python39-chardet, p-cpe:/a:redhat:enterprise_linux:scipy, p-cpe:/a:redhat:enterprise_linux:python39-wcwidth, p-cpe:/a:redhat:enterprise_linux:python39-rpm-macros, p-cpe:/a:redhat:enterprise_linux:python39-numpy, p-cpe:/a:redhat:enterprise_linux:python39-wheel-wheel, p-cpe:/a:redhat:enterprise_linux:python39-py, p-cpe:/a:redhat:enterprise_linux:python39-psycopg2-doc, p-cpe:/a:redhat:enterprise_linux:python-toml, p-cpe:/a:redhat:enterprise_linux:python39-debug, p-cpe:/a:redhat:enterprise_linux:numpy, p-cpe:/a:redhat:enterprise_linux:cython, p-cpe:/a:redhat:enterprise_linux:python39-pybind11-devel, p-cpe:/a:redhat:enterprise_linux:python-py, p-cpe:/a:redhat:enterprise_linux:python39-toml, p-cpe:/a:redhat:enterprise_linux:python39-six, p-cpe:/a:redhat:enterprise_linux:python39-scipy, p-cpe:/a:redhat:enterprise_linux:python39-more-itertools, p-cpe:/a:redhat:enterprise_linux:python-pysocks, p-cpe:/a:redhat:enterprise_linux:python3x-pyparsing, p-cpe:/a:redhat:enterprise_linux:python39-setuptools-wheel, p-cpe:/a:redhat:enterprise_linux:python-more-itertools, p-cpe:/a:redhat:enterprise_linux:python39-pip-wheel, p-cpe:/a:redhat:enterprise_linux:python-attrs, p-cpe:/a:redhat:enterprise_linux:python39-psycopg2, p-cpe:/a:redhat:enterprise_linux:python-pluggy, p-cpe:/a:redhat:enterprise_linux:python39-test, p-cpe:/a:redhat:enterprise_linux:python-pycparser, p-cpe:/a:redhat:enterprise_linux:python39-pycparser, p-cpe:/a:redhat:enterprise_linux:pytest, p-cpe:/a:redhat:enterprise_linux:python-cryptography, p-cpe:/a:redhat:enterprise_linux:python-wheel, p-cpe:/a:redhat:enterprise_linux:python-chardet, p-cpe:/a:redhat:enterprise_linux:python39-pybind11, p-cpe:/a:redhat:enterprise_linux:python39-psutil, p-cpe:/a:redhat:enterprise_linux:python39-pymysql, p-cpe:/a:redhat:enterprise_linux:mod_wsgi, p-cpe:/a:redhat:enterprise_linux:python-psycopg2, p-cpe:/a:redhat:enterprise_linux:python3x-six

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

易利用性: No known exploits are available

补丁发布日期: 2025/12/18

漏洞发布日期: 2024/6/27

参考资料信息

CVE: CVE-2024-11168, CVE-2024-5642, CVE-2024-9287, CVE-2025-0938, CVE-2025-4138, CVE-2025-4330, CVE-2025-4435, CVE-2025-4516, CVE-2025-4517, CVE-2025-6069, CVE-2025-6075, CVE-2025-8291

CWE: 1287, 130, 1333, 20, 22, 416, 428, 706, 770

RHSA: 2025:23530