Vulnerabilities / CVE-2020-16846

critical

CVE-2020-16846

salt: sending crafted web requests to the Salt API, with the SSH client enabled, can result in shell injection

Published Modified CWE 78
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GHSA9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:H
Red Hat9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Trivy's own label is CRITICAL. Rated critical by NVD, GHSA. Rated lower by Red Hat (high), Ubuntu (high).

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.

Affected packages and fixed versions

SourcePackageFixed in
pip::GitHub Security Advisory pipsalt2015.8.13, 2016.3.8, 2016.11.10, 2017.7.8, 2018.3.5, 2019.2.6, 3000.4, 3001.2, 3002.1
alpine 3.13salt3002-r1
alpine 3.14salt3002-r1
alpine 3.15salt3002-r1
alpine 3.16salt3002-r1
alpine 3.17salt3002-r1
alpine 3.18salt3002-r1
alpine 3.19salt3002-r1
alpine 3.20salt3002-r1
alpine 3.21salt3002-r1
alpine 3.22salt3002-r1
alpine 3.23salt3002-r1
Show all 20 entries from 19 sources
SourcePackageFixed in
pip::GitHub Security Advisory pipsalt2015.8.13, 2016.3.8, 2016.11.10, 2017.7.8, 2018.3.5, 2019.2.6, 3000.4, 3001.2, 3002.1
alpine 3.13salt3002-r1
alpine 3.14salt3002-r1
alpine 3.15salt3002-r1
alpine 3.16salt3002-r1
alpine 3.17salt3002-r1
alpine 3.18salt3002-r1
alpine 3.19salt3002-r1
alpine 3.20salt3002-r1
alpine 3.21salt3002-r1
alpine 3.22salt3002-r1
alpine 3.23salt3002-r1
alpine 3.24salt3002-r1
alpine edgesalt3002-r1
debian 10salt2018.3.4+dfsg1-6+deb10u2
debian 9salt2016.11.2+ds-1+deb9u6
Red Hatsaltno fix listed
Red Hatsalt-minionno fix listed
ubuntu 16.04-ESMsalt2015.8.8+ds-1ubuntu0.1+esm2
ubuntu 18.04-ESMsalt2017.7.4+dfsg1-1ubuntu18.04.2+esm1

References

All 38 references

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.