CVE-2020-11651

NameCVE-2020-11651
DescriptionAn issue was discovered in SaltStack Salt before 2019.2.4 and 3000 before 3000.2. The salt-master process ClearFuncs class does not properly validate method calls. This allows a remote user to access some methods without authentication. These methods can be used to retrieve user tokens from the salt master and/or run arbitrary commands on salt minions.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
ReferencesDLA-2223-1, DSA-4676-1, DSA-4676-2
NVD severityhigh
Debian Bugs959684

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
salt (PTS)jessie2014.1.13+ds-3vulnerable
jessie (security)2014.1.13+ds-3+deb8u1fixed
stretch2016.11.2+ds-1+deb9u2vulnerable
stretch (security)2016.11.2+ds-1+deb9u4fixed
buster2018.3.4+dfsg1-6vulnerable
buster (security)2018.3.4+dfsg1-6+deb10u1fixed
bullseye, sid3000.2+dfsg1-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
saltsource(unstable)3000.2+dfsg1-1959684
saltsourcebuster2018.3.4+dfsg1-6+deb10u1DSA-4676-1
saltsourcejessie2014.1.13+ds-3+deb8u1DLA-2223-1
saltsourcestretch2016.11.2+ds-1+deb9u4DSA-4676-2

Notes

https://github.com/saltstack/salt/blob/v3000.2_docs/doc/topics/releases/3000.2.rst
Fixed by: https://github.com/saltstack/salt/commit/a67d76b15615983d467ed81371b38b4a17e4f3b7
Followup needed: https://github.com/saltstack/salt/commit/78172bf647473d5c1c2720e72fc12d6f2314d583
There is a typo in the whitelisted methods on AESFuncs:
https://github.com/saltstack/salt/blob/v3000.2_docs/doc/topics/releases/3000.2.rst#known-issue
Regression bugreport: https://github.com/saltstack/salt/issues/57016
https://github.com/saltstack/salt/issues/57027

Search for package or bug name: Reporting problems