Stackurity Start free trial

CVEs / CVE-2020-16846

CVE-2020-16846: SaltStack Salt Shell Injection Vulnerability

Are you affected? Check your servers with Stackurity: it lists the software on each server and the vulnerabilities to fix first.

Check your servers with Stackurity Already using Stackurity? Search for CVE-2020-16846

Summary

SaltStack Salt allows an unauthenticated user with network access to the Salt API to use shell injections to run code on the Salt API using the SSH client. This vulnerability affects any users running the Salt API.

CISA, Known Exploited Vulnerabilities catalog

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.

The CVE record, via NVD · published 6 Nov 2020 · NVD status: Analyzed

Affected and fixed versions

As stated by the CVE record (from the CNA)
ProductAffectedFixed in
n/a n/an/a—
As stated by OSV
ProductAffectedFixed in
salt (PyPI)before 2015.8.132015.8.13
salt (PyPI)from 2016.3.0, before 2016.3.82016.3.8
salt (PyPI)from 2016.11.0, before 2016.11.102016.11.10
salt (PyPI)from 2017.5.0, before 2017.7.82017.7.8
salt (PyPI)from 2018.2.0, before 2018.3.52018.3.5
salt (PyPI)from 2019.2.0, before 2019.2.62019.2.6
salt (PyPI)from 3000.0, before 3000.43000.4
salt (PyPI)from 3001, before 3001.23001.2
salt (PyPI)from 3002, before 3002.13002.1

Package versions from GHSA-qr38-h96j-2j3w.

Exploitation

In CISA KEV since3 Nov 2021
Due date for US federal agencies3 May 2022
Used in ransomware campaignsUnknown
Required actionApply updates per vendor instructions.

Severity

CVSS 3.19.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Scored by NVD
WeaknessCWE-78

References

Sources

Exploitation status from the CISA Known Exploited Vulnerabilities catalog. EPSS scores from FIRST. Descriptions, severity and references from the National Vulnerability Database. Open-source package versions from OSV (CC-BY 4.0). Text is shown as each source states it; Stackurity does not edit it. Check the vendor's advisory before acting.

This product uses data from the NVD API but is not endorsed or certified by the NVD.