{"id":"CVE-2021-3197","aliases":["GHSA-8rp6-x3r7-5qw3","PYSEC-2021-57"],"url":"https://o3.security/vulnerability/CVE-2021-3197","summary":"SaltStack Salt is vulnerable to shell injection via ProxyCommand argument","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.","published":"2021-02-27T05:15:14.317Z","modified":"2026-07-08T05:59:42.872900091Z","cvss":{"score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},"epss":{"score":0.72327,"percentile":0.99408,"asOf":"2026-09-16"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"PyPI","name":"salt","fixedVersion":"2015.8.13"},{"ecosystem":"PyPI","name":"salt","fixedVersion":"2016.11.5"},{"ecosystem":"PyPI","name":"salt","fixedVersion":"2016.11.10"},{"ecosystem":"PyPI","name":"salt","fixedVersion":"2017.7.8"},{"ecosystem":"PyPI","name":"salt","fixedVersion":null},{"ecosystem":"PyPI","name":"salt","fixedVersion":"2019.2.8"},{"ecosystem":"PyPI","name":"salt","fixedVersion":"3000.7"},{"ecosystem":"PyPI","name":"salt","fixedVersion":"3001.5"},{"ecosystem":"PyPI","name":"salt","fixedVersion":"3002.3"}],"fix":null,"references":[{"type":"ADVISORY","url":"https://github.com/saltstack/salt/releases"},{"type":"ADVISORY","url":"https://lists.debian.org/debian-lts-announce/2021/11/msg00009.html"},{"type":"ADVISORY","url":"https://lists.debian.org/debian-lts-announce/2022/01/msg00000.html"},{"type":"ADVISORY","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7GRVZ5WAEI3XFN2BDTL6DDXFS5HYSDVB/"},{"type":"ADVISORY","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FUGLOJ6NXLCIFRD2JTXBYQEMAEF2B6XH/"},{"type":"ADVISORY","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YOGNT2XWPOYV7YT75DN7PS4GIYWFKOK5/"},{"type":"ADVISORY","url":"https://saltproject.io/security_announcements/active-saltstack-cve-release-2021-feb-25/"},{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/202103-01"},{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/202310-22"},{"type":"ADVISORY","url":"https://www.debian.org/security/2021/dsa-5011"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-3197"},{"type":"WEB","url":"https://saltproject.io/security_announcements/active-saltstack-cve-release-2021-feb-25"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/YOGNT2XWPOYV7YT75DN7PS4GIYWFKOK5"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FUGLOJ6NXLCIFRD2JTXBYQEMAEF2B6XH"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/7GRVZ5WAEI3XFN2BDTL6DDXFS5HYSDVB"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YOGNT2XWPOYV7YT75DN7PS4GIYWFKOK5"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FUGLOJ6NXLCIFRD2JTXBYQEMAEF2B6XH"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7GRVZ5WAEI3XFN2BDTL6DDXFS5HYSDVB"},{"type":"WEB","url":"https://github.com/saltstack/salt/blob/8f9405cf8e6f7d7776d5000841c886dec6d96250/doc/topics/releases/3002.3.rst#L38"},{"type":"WEB","url":"https://github.com/saltstack/salt/blob/8f9405cf8e6f7d7776d5000841c886dec6d96250/doc/topics/releases/3001.5.rst#L38"},{"type":"WEB","url":"https://github.com/saltstack/salt/blob/8f9405cf8e6f7d7776d5000841c886dec6d96250/doc/topics/releases/3000.7.rst#L38"},{"type":"WEB","url":"https://github.com/saltstack/salt/blob/8f9405cf8e6f7d7776d5000841c886dec6d96250/CHANGELOG.md?plain=1#L2375"},{"type":"PACKAGE","url":"https://github.com/saltstack/salt"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/salt/PYSEC-2021-57.yaml"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-08T05:59:42.872900091Z"}}