Amazon Linux 2023:python3.14、python3.14-devel、python3.14-freethreading (ALAS2023-2026-1774)

medium Nessus 插件 ID 319867

简介

远程 Amazon Linux 2023 主机缺少安全更新。

描述

因此,该软件受到 ALAS2023-2026-1774 公告中提及的多个漏洞影响。

tarfile 模块仍会将 AREGTYPE (\x00) 块的规范化应用到 DIRTYPE,即使在处理多区块成员(例如 GNUTYPE_LONGNAME 或 GNUTYPE_LONGLINK)时也是如此。与其他实现相比,这可导致 tarfile 模块错误解释构建的 tar 存档。
(CVE-2025-13462)

HTTP 客户端代理信道标头或主机未拒绝 CR/LF 字节。(CVE-2026-1502)

如果特权进程通过远程调试功能连接到恶意或被感染的 Python 进程,Python 中的 profiling.sampling 模块 (Python 3.15+) 以及 asyncio 内省功能(如 3.14+、python -m asyncio ps 和 python -m asyncio pstree)可能被用于读取和写入该特权进程的内存地址。要利用此漏洞,攻击者需要持续且反复地连接到目标进程,即使在连接进程因 ASLR 而极有可能崩溃的情况下,仍需如此操作。(CVE-2026-5713)

http.cookies.Morsel.js_output() 会返回一个内联 <script> 片段,且仅针对 JavaScript 字符串上下文进行转义处理。它不会使生成的脚本元素内的 HTML 解析器敏感序列 </script> 失效。缓解措施:采用 Base64 编码的方式处理 Cookie 值,从而阻止攻击者通过 Cookie 值进行转义攻击。
(CVE-2026-6019)

“xml.parsers.expat”和“xml.etree.ElementTree”对 Expat 哈希洪流保护使用的熵不足,这允许构建的 XML 文档触发哈希洪流。\\r\\n\\r\n要完全缓解此漏洞,需要将 libexpat 更新到或更高版本,2.8.0 并应用此修补程序。(CVE-2026-7210)

Tenable 已直接从测试产品的安全公告中提取上述描述块。

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

解决方案

运行“dnf update python3.14 --releasever 2023.12.20260608”或“dnf update --advisory ALAS2023-2026-1774 --releasever 2023.12.20260608”以更新系统。

另见

https://alas.aws.amazon.com//AL2023/ALAS2023-2026-1774.html

https://alas.aws.amazon.com/faqs.html

https://explore.alas.aws.amazon.com/CVE-2025-13462.html

https://explore.alas.aws.amazon.com/CVE-2026-1502.html

https://explore.alas.aws.amazon.com/CVE-2026-5713.html

https://explore.alas.aws.amazon.com/CVE-2026-6019.html

https://explore.alas.aws.amazon.com/CVE-2026-7210.html

插件详情

严重性: Medium

ID: 319867

文件名: al2023_ALAS2023-2026-1774.nasl

版本: 1.1

类型: Local

代理: unix

发布时间: 2026/6/8

最近更新时间: 2026/6/8

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

风险信息

VPR

风险因素: Medium

分数: 6.7

CVSS v2

风险因素: Critical

基本分数: 10

时间分数: 7.8

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

CVSS 分数来源: CVE-2026-7210

CVSS v3

风险因素: Critical

基本分数: 9.8

时间分数: 8.8

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

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

CVSS v4

风险因素: Medium

Base Score: 6.3

Threat Score: 2.9

Threat Vector: CVSS:4.0/E:P

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

漏洞信息

CPE: cpe:/o:amazon:linux:2023, p-cpe:/a:amazon:linux:python3.14, p-cpe:/a:amazon:linux:python3.14-debug, p-cpe:/a:amazon:linux:python3.14-debuginfo, p-cpe:/a:amazon:linux:python3.14-debugsource, p-cpe:/a:amazon:linux:python3.14-devel, p-cpe:/a:amazon:linux:python3.14-freethreading, p-cpe:/a:amazon:linux:python3.14-freethreading-debug, p-cpe:/a:amazon:linux:python3.14-freethreading-devel, p-cpe:/a:amazon:linux:python3.14-freethreading-idle, p-cpe:/a:amazon:linux:python3.14-freethreading-libs, p-cpe:/a:amazon:linux:python3.14-freethreading-test, p-cpe:/a:amazon:linux:python3.14-freethreading-tkinter, p-cpe:/a:amazon:linux:python3.14-idle, p-cpe:/a:amazon:linux:python3.14-libs, p-cpe:/a:amazon:linux:python3.14-test, p-cpe:/a:amazon:linux:python3.14-tkinter

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

可利用: true

易利用性: Exploits are available

补丁发布日期: 2026/6/8

漏洞发布日期: 2026/2/12

参考资料信息

CVE: CVE-2025-13462, CVE-2026-1502, CVE-2026-5713, CVE-2026-6019, CVE-2026-7210

IAVA: 2026-A-0142-S, 2026-A-0360