Skip to content
OpenAdvisories
Medium · 6.5 Known exploited Public exploit CVE-2020-11652 EUVD-2020-0172GHSA-vp49-2g4r-m3x3PYSEC-2020-103

SaltStack Salt is vulnerable Arbitrary Directory Access

Published Apr 30, 2020 · Updated Oct 21, 2025 · Assigned by mitre

Description

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 10 salt 2018.3.4+dfsg1-6+deb10u1 DSA-4676-1
Debian 9 salt 2016.11.2+ds-1+deb9u3 DSA-4676-2, DSA-4676-1
Debian 8 salt 2014.1.13+ds-3+deb8u1 DLA-2223-1
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS salt 2017.7.4+dfsg1-1ubuntu18.04.2 USN-4459-1
Ubuntu 16.04 LTS salt 2015.8.8+ds-1ubuntu0.1 USN-4459-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 14.04 LTS salt 0.17.5+ds-1ubuntu0.1~esm2 USN-6849-1
ReleasePackageFixed inAdvisory
SLES 15 SP3 python-distro 1.5.0-3.5.1 SUSE-SU-2021:2106-1
SLES 15 SP2 python-distro 1.5.0-3.5.1 SUSE-SU-2021:2106-1
SLES 15 SP2 salt 3002.2-37.1 SUSE-SU-2021:2106-1
SLES 15 SP1 salt 2019.2.0-6.27.1 SUSE-SU-2021:2105-1, SUSE-SU-2020:1974-1, SUSE-SU-2020:1150-1
SLES 15 salt 2019.2.0-5.67.1 SUSE-SU-2020:1973-1, SUSE-SU-2020:1151-1
SLES 12 python-singledispatch 3.4.0.3-1.5.1 SUSE-SU-2020:1971-1
SLES 12 salt 2019.2.0-46.91.1 SUSE-SU-2020:1971-1, SUSE-SU-2020:1147-1
Show 15 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 2 python-distro 1.5.0-3.5.1 SUSE-SU-2021:2106-1
SLES 2 salt 2019.2.0-6.27.1 SUSE-SU-2020:1974-1, SUSE-SU-2020:1150-1
SLES for SAP 15 SP1 salt 3002.2-37.1 SUSE-SU-2021:2105-1
SLES for SAP 15 salt 2019.2.0-5.67.1 SUSE-SU-2020:1973-1, SUSE-SU-2020:1151-1
SLE Micro 5.0 python-distro 1.5.0-3.5.1 SUSE-SU-2021:2106-1
SLE Micro 5.0 salt 3002.2-37.1 SUSE-SU-2021:2106-1
SLE HPC 15 SP1 salt 3002.2-37.1 SUSE-SU-2021:2105-1
SLE HPC 15 salt 2019.2.0-5.67.1 SUSE-SU-2020:1973-1, SUSE-SU-2020:1151-1
SUSE Manager Server 4.0 salt 3002.2-37.1 SUSE-SU-2021:2105-1
SUSE Manager Server 3.2 python-singledispatch 3.4.0.3-1.5.1 SUSE-SU-2020:1971-1
SUSE Manager Server 3.2 salt 2019.2.0-46.91.1 SUSE-SU-2020:1971-1, SUSE-SU-2020:1147-1
SUSE Manager Retail Branch Server 4.0 salt 3002.2-37.1 SUSE-SU-2021:2105-1
SUSE Manager Proxy 4.0 salt 3002.2-37.1 SUSE-SU-2021:2105-1
SUSE Manager Proxy 3.2 python-singledispatch 3.4.0.3-1.5.1 SUSE-SU-2020:1971-1
SUSE Manager Proxy 3.2 salt 2019.2.0-46.91.1 SUSE-SU-2020:1971-1, SUSE-SU-2020:1147-1
SUSE Manager Client Tools 12 python-singledispatch 3.4.0.3-1.5.1 SUSE-SU-2020:1971-1
SUSE Manager Client Tools 12 salt 2019.2.0-46.91.1 SUSE-SU-2020:1971-1, SUSE-SU-2020:1147-1
SUSE Linux Enterprise Point of Sale 12 SP2 python-singledispatch 3.4.0.3-1.5.1 SUSE-SU-2020:1971-1
SUSE Linux Enterprise Point of Sale 12 SP2 salt 2019.2.0-46.91.1 SUSE-SU-2020:1971-1, SUSE-SU-2020:1147-1
SUSE Enterprise Storage 6 salt 3002.2-37.1 SUSE-SU-2021:2105-1
SUSE Enterprise Storage 5 salt 2016.11.4-48.10.1 SUSE-SU-2020:1392-1
ReleasePackageFixed inAdvisory
openSUSE Leap 15.3 python-distro 1.5.0-3.5.1 openSUSE-SU-2021:2106-1
openSUSE Leap 15.2 salt 3002.2-lp152.3.36.1 openSUSE-SU-2021:0899-1
openSUSE Leap 15.1 salt 2019.2.0-lp151.5.15.1 openSUSE-SU-2020:1074-1, openSUSE-SU-2020:0564-1
ReleasePackageFixed inAdvisory
Alpine v3.24 salt 3000.2-r0 —
Alpine v3.23 salt 3000.2-r0 —
Alpine v3.22 salt 3000.2-r0 —
Alpine v3.21 salt 3000.2-r0 —
Alpine v3.20 salt 3000.2-r0 —
Show 10 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 salt 3000.2-r0 —
Alpine v3.18 salt 3000.2-r0 —
Alpine v3.17 salt 3000.2-r0 —
Alpine v3.16 salt 3000.2-r0 —
Alpine v3.15 salt 3000.2-r0 —
Alpine v3.14 salt 3000.2-r0 —
Alpine v3.13 salt 3000.2-r0 —
Alpine v3.12 salt 3000.2-r0 —
Alpine v3.11 salt 2019.2.4-r0 —
Alpine v3.10 salt 2019.2.4-r0 —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Metasploit 2 modules

Exploit-DB 1

GitHub 3 repositories

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI salt < 2019.2.4 2019.2.4 GHSA-vp49-2g4r-m3x3
PyPI salt >= 3000, < 3000.2 3000.2 GHSA-vp49-2g4r-m3x3
PyPI salt < 2019.2.4 · >= 3000, < 3000.2 2019.2.4, 3000.2 PYSEC-2020-103

Advisories 19

References