Debian DLA-4829:rails - 安全更新

critical Nessus 插件 ID 364213

简介

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

描述

远程 Debian 12 主机上存在安装的程序包,该程序包受到 DLA-4829 公告中提及的多个漏洞的影响。

- ------------------------------------------------------------------------- Debian LTS 公告 [email protected] DLA-4829-1 Quigley 2026 https://www.debian.org/lts/security/Simon 年 10 月 8 日 https://wiki.debian.org/LTS
- -------------------------------------------------------------------------

程序包:rails 版本: 2:6.1.7.10+dfsg-1~deb12u3 CVE ID: CVE-2026-33168 CVE-2026-33169 CVE-2026-33170 CVE-2026-33173 CVE-2026-33176 CVE-2026-33195 CVE-2026-33202 CVE-2026-66066 Debian 缺陷:1132035 1143080

在 Rails Web 框架中发现多种安全问题,可导致跨站脚本、拒绝服务、路径遍历或任意代码执行。

CVE-2026-33168

在 Action View 中,当 HTML 属性名称为空时,标签帮助程序会跳过转义,这可允许跨站脚本。现已删除空白属性名称。

CVE-2026-33169

在 Active Support 中,number_to_delimited对长数字字符串占用二次时间,这可用于造成拒绝服务。

CVE-2026-33170

在 Active Support 中,用 % 格式化不安全的 SafeBuffer 会将结果标记为 html_safe,这可允许跨站脚本。
现在结果仍然不安全。

CVE-2026-33173

在 Active Storage 中,直接上传可设置经过分析和识别的元数据密钥并跳过内容类型检测。现在已从客户端提供的元数据中丢弃了这些密钥。

CVE-2026-33176

在 Action View 中,数字帮助程序通过 BigDecimal 扩展了科学记数法,因此诸如 1E1000 的输入可能占用过量 CPU 和内存,从而导致拒绝服务。

CVE-2026-33195

在 Active Storage 中,磁盘服务接受包含 ../,其允许在存储根目录之外进行路径遍历。这些密钥现在会引发 InvalidKeyError。

CVE-2026-33202

在 Active Storage 中,磁盘服务的 delete_prefixed 会将前缀传递到 Dir.glob 而不转义,因此 glob 元字符可能会删除非预期文件。现已转义 Glob 元字符。

CVE-2026-66066

在 Active Storage 中,将变体处理器设置为 :vips 的应用程序使 libvips 不受信任的未模糊加载程序处于启用状态,这可允许构建的图像执行任意代码。vips 处理器现在阻止不受信任的加载程序。默认 MiniMagick 处理器不受影响。

针对 Debian 12 bookworm,这些问题已在版本 2:6.1.7.10+dfsg-1~deb12u3 中修复。

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

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

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

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

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

解决方案

升级 rails 程序包。

另见

https://packages.debian.org/source/bookworm/rails

https://security-tracker.debian.org/tracker/CVE-2026-33168

https://security-tracker.debian.org/tracker/CVE-2026-33169

https://security-tracker.debian.org/tracker/CVE-2026-33170

https://security-tracker.debian.org/tracker/CVE-2026-33173

https://security-tracker.debian.org/tracker/CVE-2026-33176

https://security-tracker.debian.org/tracker/CVE-2026-33195

https://security-tracker.debian.org/tracker/CVE-2026-33202

https://security-tracker.debian.org/tracker/CVE-2026-66066

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

插件详情

严重性: Critical

ID: 364213

文件名: debian_DLA-4829.nasl

版本: 1.2

类型: Local

代理: unix

发布时间: 2026/10/8

最近更新时间: 2026/10/9

支持的传感器: Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Continuous Assessment, Tenable Cloud Security, Tenable Self-Hosted Container Security, Nessus

风险信息

VPR

风险因素: High

分数: 8.9

百分位: 99.71

CVSS v2

风险因素: Critical

基本分数: 10

时间分数: 8.3

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

CVSS 分数来源: CVE-2026-33195

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

CVSS v4

风险因素: Critical

Base Score: 9.5

Threat Score: 9

Threat Vector: CVSS:4.0/E:P

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

CVSS 分数来源: CVE-2026-66066

漏洞信息

CPE: cpe:/o:debian:debian_linux:12.0, p-cpe:/a:debian:debian_linux:rails, p-cpe:/a:debian:debian_linux:ruby-actioncable, p-cpe:/a:debian:debian_linux:ruby-actionmailbox, p-cpe:/a:debian:debian_linux:ruby-actionmailer, p-cpe:/a:debian:debian_linux:ruby-actionpack, p-cpe:/a:debian:debian_linux:ruby-actiontext, p-cpe:/a:debian:debian_linux:ruby-actionview, p-cpe:/a:debian:debian_linux:ruby-activejob, p-cpe:/a:debian:debian_linux:ruby-activemodel, p-cpe:/a:debian:debian_linux:ruby-activerecord, p-cpe:/a:debian:debian_linux:ruby-activestorage, p-cpe:/a:debian:debian_linux:ruby-activesupport, p-cpe:/a:debian:debian_linux:ruby-rails, p-cpe:/a:debian:debian_linux:ruby-railties

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

可利用: true

易利用性: Exploits are available

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

漏洞发布日期: 2026/3/23

可利用的方式

Metasploit (Ruby on Rails Active Storage Vips Arbitrary File Read and Remote Code Execution)

参考资料信息

CVE: CVE-2026-33168, CVE-2026-33169, CVE-2026-33170, CVE-2026-33173, CVE-2026-33176, CVE-2026-33195, CVE-2026-33202, CVE-2026-66066