Debian DLA-2480-2 : salt regression update

critical Nessus Plugin ID 143512
New! Plugin Severity Now Using CVSS v3

The calculated severity for Plugins has been updated to use CVSS v3 by default. Plugins that do not have a CVSS v3 score will fall back to CVSS v2 for calculating severity. Severity display preferences can be toggled in the settings dropdown.

Synopsis

The remote Debian host is missing a security update.

Description

Past security updates of Salt, a remote execution manager, introduced regressions for which follow-up fixes were published :

CVE 2020-16846 regression

'salt-ssh' master key initialization fails

CVE 2021-3197 regression

Valid parameters are discarded for the SSHClient

CVE 2020-28243 follow-up

Prevent argument injection in restartcheck

CVE 2021-25282 regression

pillar_roots.write cannot write to subdirs

CVE 2021-25284 regression

The 'cmd.run' function crashes if passing tuple arg

For Debian 9 stretch, this problem has been fixed in version 2016.11.2+ds-1+deb9u10.

We recommend that you upgrade your salt packages.

For the detailed security status of salt please refer to its security tracker page at: https://security-tracker.debian.org/tracker/salt

NOTE: Tenable Network Security has extracted the preceding description block directly from the DLA security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.

Solution

Upgrade the affected packages.

See Also

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

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

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

Plugin Details

Severity: Critical

ID: 143512

File Name: debian_DLA-2480.nasl

Version: 1.5

Type: local

Agent: unix

Published: 12/7/2020

Updated: 1/4/2022

Dependencies: ssh_get_info.nasl

Risk Information

VPR

Risk Factor: High

Score: 8.4

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.2

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

Temporal Vector: CVSS2#E:F/RL:OF/RC:C

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 9.1

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

Temporal Vector: CVSS:3.0/E:F/RL:O/RC:C

Vulnerability Information

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

Required KB Items: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 1/3/2022

Vulnerability Publication Date: 11/6/2020

Exploitable With

Metasploit (SaltStack Salt REST API Arbitrary Command Execution)

Reference Information

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