Threat Feed

CVE-2020-16846: An issue was discovered in SaltStack Salt through 3002.

Exploitation: In the wild · CVSS 9.8 Critical · Unauthenticated · Published 2020-11-06

Description

An issue was discovered in SaltStack Salt through 3002. Sending crafted web requests to the Salt API, with the SSH client enabled, can result in shell injection.

Enclave's analysis

Salt's API has a shell injection bug (CWE-78). Crafted web requests to the Salt API, with the SSH client enabled, run commands on the host. CISA's KEV entry describes it as unauthenticated and network reachable. It is on CISA's known-exploited list, and EPSS is near the top of the scale. A public exploit is tagged on Packet Storm. Patch Salt, and keep the Salt API off untrusted networks.

Fix

Apply updates per vendor instructions.

Vendor advisory

Affected versions

ProductVulnerableFixed in
SaltStack SaltBefore 2015.8.10; 2015.8.11 to before 2015.8.13; 2016.3.x and 2016.11.x in listed sub-ranges before 2016.3.8 and 2016.11.10; 2017.5.0 to before 2017.7.4; 2017.7.5 to before 2017.7.8; 2018.2.0 to before 2018.3.5; 2019.2.0 to before 2019.2.5; 3000.0 to before 3000.3; 3001; 3002Not listed
Debian Linux (salt package)Debian 9 and 10Not listed
Fedora (salt package)Fedora 31Not listed
openSUSE Leap (salt package)Leap 15.1Not listed

Seen in 4 sources