ArchLinux: 202005-1: salt: multiple issues
Summary
- CVE-2020-11651 (arbitrary command execution)
An 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.
- CVE-2020-11652 (arbitrary filesystem access)
An issue was discovered in SaltStack Salt before 2019.2.4 and 3000
before 3000.2. The salt-master process ClearFuncs class allows access
to some methods that improperly sanitize paths. These methods allow
arbitrary directory access to authenticated users.
Resolution
Upgrade to 2019.2.4-1.
# pacman -Syu "salt>=2019.2.4-1"
The problems have been fixed upstream in version 2019.2.4.
References
https://docs.saltproject.io/en/latest/topics/releases/2019.2.4.html https://github.com/saltstack/salt/blob/v3000.2_docs/doc/topics/releases/3000.2.rst https://github.com/saltstack/salt/commit/a67d76b15615983d467ed81371b38b4a17e4f3b7 https://github.com/saltstack/salt/commit/cce7abad9c22d9d50ccee2813acabff8deca35dd https://security.archlinux.org/CVE-2020-11651 https://security.archlinux.org/CVE-2020-11652
Workaround
Do not expose salt-master to the internet.