Debian DLA-2823-1 : salt - LTS security update

high Nessus Plugin ID 155639

Synopsis

The remote Debian host is missing a security-related update.

Description

The remote Debian 9 host has packages installed that are affected by a vulnerability as referenced in the dla-2823 advisory.

- An issue was discovered in SaltStack Salt before 3003.3. A user who has control of the source, and source_hash URLs can gain full file system access as root on a salt minion. (CVE-2021-21996)

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Upgrade the salt packages.

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

See Also

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=994016

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

https://www.debian.org/lts/security/2021/dla-2823

https://security-tracker.debian.org/tracker/CVE-2021-21996

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

Plugin Details

Severity: High

ID: 155639

File Name: debian_DLA-2823.nasl

Version: 1.4

Type: local

Agent: unix

Published: 11/20/2021

Updated: 4/1/2022

Supported Sensors: Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: High

Base Score: 7.1

Temporal Score: 5.3

Vector: CVSS2#AV:N/AC:H/Au:S/C:C/I:C/A:C

CVSS Score Source: CVE-2021-21996

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.5

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

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

Vulnerability Information

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

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

Exploit Ease: No known exploits are available

Patch Publication Date: 11/19/2021

Vulnerability Publication Date: 9/8/2021

Reference Information

CVE: CVE-2021-21996

IAVA: 2021-A-0524-S