FreeBSD : salt -- multiple vulnerabilities (50259d8b-243e-11eb-8bae-b42e99975750)

critical Nessus Plugin ID 142856



The remote FreeBSD host is missing one or more security-related updates.


SaltStack reports multiple security vulnerabilities in Salt 3002 :

- CVE-2020-16846: Prevent shell injections in netapi ssh client.

- CVE-2020-17490: Prevent creating world readable private keys with the tls execution module.

- CVE-2020-25592: Properly validate eauth credentials and tokens along with their ACLs. Prior to this change eauth was not properly validated when calling Salt ssh via the salt-api. Any value for 'eauth' or 'token' would allow a user to bypass authentication and make calls to Salt ssh.


Update the affected packages.

See Also

Plugin Details

Severity: Critical

ID: 142856

File Name: freebsd_pkg_50259d8b243e11eb8baeb42e99975750.nasl

Version: 1.7

Type: local

Published: 11/12/2020

Updated: 12/5/2022

Risk Information


Risk Factor: High

Score: 8.4


Risk Factor: High

Base Score: 7.5

Temporal Score: 6.5

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

Temporal Vector: E:H/RL:OF/RC:C

CVSS Score Source: CVE-2020-25592


Risk Factor: Critical

Base Score: 9.8

Temporal Score: 9.4

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

Temporal Vector: E:H/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:freebsd:freebsd:py36-salt, p-cpe:/a:freebsd:freebsd:py37-salt, p-cpe:/a:freebsd:freebsd:py38-salt, cpe:/o:freebsd:freebsd

Required KB Items: Host/local_checks_enabled, Host/FreeBSD/release, Host/FreeBSD/pkg_info

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 11/12/2020

Vulnerability Publication Date: 11/6/2020

CISA Known Exploited Dates: 5/3/2022

Exploitable With

Metasploit (SaltStack Salt REST API Arbitrary Command Execution)

Reference Information

CVE: CVE-2020-16846, CVE-2020-17490, CVE-2020-25592

CEA-ID: CEA-2020-0134