Debian DLA-2480-2:salt 回归更新

critical Nessus 插件 ID 143512

简介

远程 Debian 主机缺少安全更新。

描述

Salt 是一个远程执行管理器,其过去的安全更新引入了回归并发布了后续补丁:

CVE 2020-16846 回归

无法初始化“salt-ssh”主密钥

CVE 2021-3197 回归

丢弃 SSHClient 的有效参数

CVE 2020-28243 跟进

防止在 restartcheck 中注入参数

CVE 2021-25282 回归

pil_roots.write 无法写入子目录

CVE 2021-25284 回归

传递元组参数时,“cmd.run”函数将崩溃

针对 Debian 9 Stretch,此问题已在 2016.11.2+ds-1+deb9u10 版本中解决。

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

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

注意:Tenable Network Security 已直接从 DLA 安全公告中提取上述描述块。Tenable 已尝试在不引入其他问题的情况下,尽可能进行自动清理和排版。

解决方案

升级受影响的程序包。

另见

https://lists.debian.org/debian-lts-announce/2022/01/msg00000.html

https://packages.debian.org/source/stretch/salt

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

插件详情

严重性: Critical

ID: 143512

文件名: debian_DLA-2480.nasl

版本: 1.8

类型: local

代理: unix

发布时间: 2020/12/7

最近更新时间: 2022/12/6

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

风险信息

VPR

风险因素: High

分数: 7.7

CVSS v2

风险因素: High

基本分数: 7.5

时间分数: 6.5

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

CVSS 分数来源: CVE-2021-3197

CVSS v3

风险因素: Critical

基本分数: 9.8

时间分数: 9.4

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

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

漏洞信息

CPE: p-cpe:/a:debian:debian_linux:salt-api, p-cpe:/a:debian:debian_linux:salt-cloud, p-cpe:/a:debian:debian_linux:salt-common, p-cpe:/a:debian:debian_linux:salt-doc, p-cpe:/a:debian:debian_linux:salt-master, p-cpe:/a:debian:debian_linux:salt-minion, p-cpe:/a:debian:debian_linux:salt-proxy, p-cpe:/a:debian:debian_linux:salt-ssh, p-cpe:/a:debian:debian_linux:salt-syndic, cpe:/o:debian:debian_linux:9.0

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

可利用: true

易利用性: Exploits are available

补丁发布日期: 2022/1/3

漏洞发布日期: 2020/11/6

CISA 已知可遭利用的漏洞到期日期: 2022/5/3

可利用的方式

Metasploit (SaltStack Salt REST API Arbitrary Command Execution)

参考资料信息

CVE: CVE-2020-16846, CVE-2020-28243, CVE-2021-25282, CVE-2021-25284, CVE-2021-3197