PyPA Advisory Database
PYSEC-2021-57
Details
An issue was discovered in SaltStack Salt before 3002.5. The salt-api's ssh client is vulnerable to a shell injection by including ProxyCommand in an argument, or via ssh_options provided in an API request.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | salt | All versions before 2015.8.10 (fixed in 2015.8.10) From 2015.8.11 before 2015.8.13 (fixed in 2015.8.13) From 2016.3.0 before 2016.3.4 (fixed in 2016.3.4) From 2016.3.5 before 2016.3.6 (fixed in 2016.3.6) From 2016.3.7 before 2016.3.8 (fixed in 2016.3.8) From 2016.11.0 before 2016.11.3 (fixed in 2016.11.3) From 2016.11.4 before 2016.11.5 (fixed in 2016.11.5) From 2016.11.7 before 2016.11.10 (fixed in 2016.11.10) From 2017.7.0 before 2017.7.8 (fixed in 2017.7.8) From 2018.3.0rc1 before 2019.2.0rc1 (fixed in 2019.2.0rc1) From 2019.2.0 before 2019.2.5 (fixed in 2019.2.5) From 2019.2.6 before 2019.2.8 (fixed in 2019.2.8) From 3000 before 3000.6 (fixed in 3000.6) From 3001 before 3001.4 (fixed in 3001.4) From 3002 before 3002.5 (fixed in 3002.5) |
References
- https://github.com/saltstack/salt/releases
- https://saltproject.io/security_announcements/active-saltstack-cve-release-2021-feb-25/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/YOGNT2XWPOYV7YT75DN7PS4GIYWFKOK5/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/7GRVZ5WAEI3XFN2BDTL6DDXFS5HYSDVB/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/FUGLOJ6NXLCIFRD2JTXBYQEMAEF2B6XH/
- https://security.gentoo.org/glsa/202103-01
- https://github.com/advisories/GHSA-8rp6-x3r7-5qw3