Debian dla-3970:python3-twisted - 安全更新

medium Nessus 插件 ID 211959

简介

远程 Debian 主机上缺少一个或多个与安全相关的更新。

描述

远程 Debian 11 主机上安装的多个程序包受到 dla-3970 公告中提及的多个漏洞影响。

- ------------------------------------------------------------------------- Debian LTS 公告 DLA-3970-1 [email protected] https://www.debian.org/lts/security/Sylvain Beucler 2024 年 11 月 28 日 https://wiki.debian.org/LTS
- -------------------------------------------------------------------------

程序包:twisted 版本:20.3.0-7+deb11u2 CVE ID:CVE-2022-39348 CVE-2023-46137 CVE-2024-41671 CVE-2024-41810 Debian 缺陷:1023359 1054913 1077679 1077680

在针对 Internet 应用程序基于事件的框架 Twisted 中发现多个安全问题,可能导致错误排序 HTTP 请求或跨站脚本。

CVE-2022-39348

当主机标头与配置的主机不匹配时,`twisted.web.vhost.NameVirtualHost` 将返回“NoResource”资源,该资源将主机标头呈现为未转义的 404 响应,从而允许 HTML 和脚本注入。在实践中,该漏洞应该很难被攻击者利用,因为能够修改正常 HTTP 请求的主机标头意味着用户已经处于特权位置。

CVE-2023-46137

当在一个 TCP 数据包中发送多个 HTTP 请求时,twisted.web 将异步处理请求,而不保证响应顺序。如果其中一个端点由攻击者控制,则当受害者使用 HTTP 管道发起两个请求时,攻击者可以故意延迟响应以操纵第二个请求的响应。

CVE-2024-41671

twisted.web 提供的 HTTP 1.0 和 1.1 服务器可乱序处理管道 HTTP 请求,这可能导致信息泄露。

CVE-2024-41810

“twisted.web.util.redirectTo”函数包含一个 HTML 注入漏洞。如果应用程序代码允许攻击者控制重定向 URL,此漏洞可能会在重定向响应 HTML 正文中造成反射型跨站脚本 (XSS)。

对于 Debian 11 bullseye,已在 20.3.0-7+deb11u2 版本中修复这些问题。

我们建议您升级 twisted 程序包。

如需了解 twisted 的详细安全状态,请参阅其安全跟踪页面:
https://security-tracker.debian.org/tracker/twisted

有关 Debian LTS 安全公告、如何将这些更新应用到系统以及常见问题解答的更多信息,请访问以下网址:https://wiki.debian.org/LTS

Tenable 已直接从 Debian 安全公告中提取上述描述块。

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

解决方案

升级 python3-twisted 程序包。

另见

https://security-tracker.debian.org/tracker/source-package/twisted

https://security-tracker.debian.org/tracker/CVE-2022-39348

https://security-tracker.debian.org/tracker/CVE-2023-46137

https://security-tracker.debian.org/tracker/CVE-2024-41671

https://security-tracker.debian.org/tracker/CVE-2024-41810

https://packages.debian.org/source/bullseye/twisted

插件详情

严重性: Medium

ID: 211959

文件名: debian_DLA-3970.nasl

版本: 1.1

类型: local

代理: unix

发布时间: 2024/11/28

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

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

风险信息

VPR

风险因素: Medium

分数: 4.0

CVSS v2

风险因素: Medium

基本分数: 6.4

时间分数: 5

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

CVSS 分数来源: CVE-2024-41810

CVSS v3

风险因素: Medium

基本分数: 6.1

时间分数: 5.5

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

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

漏洞信息

CPE: cpe:/o:debian:debian_linux:11.0, p-cpe:/a:debian:debian_linux:python3-twisted, p-cpe:/a:debian:debian_linux:python3-twisted-bin-dbg, p-cpe:/a:debian:debian_linux:twisted-doc, p-cpe:/a:debian:debian_linux:python3-twisted-bin

必需的 KB 项: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

可利用: true

易利用性: Exploits are available

补丁发布日期: 2024/11/28

漏洞发布日期: 2022/10/26

参考资料信息

CVE: CVE-2022-39348, CVE-2023-46137, CVE-2024-41671, CVE-2024-41810