CWE
74
Advisory Published
Advisory Published
Updated

CVE-2021-3197

First published: Sat Feb 27 2021(Updated: )

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.

Credit: cve@mitre.org cve@mitre.org cve@mitre.org

Affected SoftwareAffected VersionHow to fix
SaltStack Salt<2015.8.10
SaltStack Salt>=2015.8.11<2015.8.13
SaltStack Salt>=2016.3.0<2016.3.4
SaltStack Salt>=2016.3.5<2016.3.6
SaltStack Salt>=2016.3.7<2016.3.8
SaltStack Salt>=2016.3.9<2016.11.3
SaltStack Salt>=2016.11.4<2016.11.5
SaltStack Salt>=2016.11.7<2016.11.10
SaltStack Salt>=2017.5.0<2017.7.8
SaltStack Salt>=2018.2.0<=2018.3.5
SaltStack Salt>=2019.2.0<2019.2.5
SaltStack Salt>=2019.2.6<2019.2.8
SaltStack Salt>=3000<3000.6
SaltStack Salt>=3001<3001.4
SaltStack Salt>=3002<3002.5
Fedoraproject Fedora=32
Fedoraproject Fedora=33
Fedoraproject Fedora=34
Debian Debian Linux=9.0
Debian Debian Linux=10.0
Debian Debian Linux=11.0
SaltStack Salt<3002.2<3001.4<3000.6<2019.2.8<2019.2.5<2018.3.5<2017.7.8<2016.11.10<2016.11.6<2016.11.5<2016.11.3<2016.3.8<2016.3.6<2016.3.4<2015.8.13<2015.8.10<3002.5<3001.6<3000.8<3002.5<3001.6<3000.8
3002.2
3001.4
3000.6
2019.2.8
2019.2.5
2018.3.5
2017.7.8
2016.11.10
2016.11.6
2016.11.5
2016.11.3
2016.3.8
2016.3.6
2016.3.4
2015.8.13
2015.8.10
3002.5
3001.6
3000.8
3002.5
3001.6
3000.8
pip/salt>=3002<3002.3
3002.3
pip/salt>=3001<3001.5
3001.5
pip/salt>=3000<3000.7
3000.7
pip/salt>=2019.2.0<2019.2.8
2019.2.8
pip/salt>=2018.2.0<=2018.3.5
pip/salt>=2017.5.0<2017.7.8
2017.7.8
pip/salt>=2016.11.7<2016.11.10
2016.11.10
pip/salt>=2016.3.0<2016.11.5
2016.11.5
pip/salt<2015.8.13
2015.8.13
debian/salt
ubuntu/salt<2017.7.4+dfsg1-1ubuntu18.04.2+
2017.7.4+dfsg1-1ubuntu18.04.2+
ubuntu/salt<2015.8.8+
2015.8.8+

Remedy

Update to the latest Salt release, package or patch file

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Reference Links

Parent vulnerabilities

(Appears in the following advisories)

Frequently Asked Questions

  • What is CVE-2021-3197?

    CVE-2021-3197 is a vulnerability in SaltStack Salt before version 3002.5.

  • How severe is CVE-2021-3197?

    CVE-2021-3197 has a severity score of 9.8 (critical).

  • Which software is affected by CVE-2021-3197?

    SaltStack Salt versions 2018.3.4+dfsg1-6+deb10u3, 3002.6+dfsg1-4+deb11u1, and 3004.1+dfsg-2.2 are affected by CVE-2021-3197.

  • How can I fix CVE-2021-3197?

    To fix CVE-2021-3197, update SaltStack Salt to version 3002.5 or later.

  • Where can I find more information about CVE-2021-3197?

    More information about CVE-2021-3197 can be found in the following references: [1] [2] [3].

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203