CVE-2021-3197

NameCVE-2021-3197
DescriptionAn 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-2815-1, ELA-537-1
Debian Bugs983632

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
salt (PTS)jessie, jessie (lts)2014.1.13+ds-3+deb8u2fixed
stretch (security), stretch (lts), stretch2016.11.2+ds-1+deb9u10fixed
buster (security), buster, buster (lts)2018.3.4+dfsg1-6+deb10u3fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
saltsourcejessie2014.1.13+ds-3+deb8u2ELA-537-1
saltsourcestretch2016.11.2+ds-1+deb9u7DLA-2815-1
saltsourcebuster2018.3.4+dfsg1-6+deb10u3
saltsource(unstable)3002.5+dfsg1-1983632

Notes

https://saltproject.io/security_announcements/active-saltstack-cve-release-2021-feb-25/
https://github.com/saltstack/salt/commit/5273722c2180c394bc426f731450b95809ca952e (v3002.3)
https://github.com/saltstack/salt/commit/039b7f3f5713170799363d96e6263c2809e4245c (v3002.3)
Regression: https://github.com/saltstack/salt/pull/59664
Regression fix: https://github.com/saltstack/salt/commit/51f350fcdf4b14e4f16cedabd743ca23c574a186
Regression follow-up: https://github.com/saltstack/salt/pull/59748
Regression follow-up fix: https://github.com/saltstack/salt/commit/61d74a7e3bc4dfd6f16a7f123e76d0824059217d

Search for package or bug name: Reporting problems