GitHub Advisoryadvisory · PyPI

GHSA-8rp6-x3r7-5qw3 SaltStack Salt is vulnerable to shell injection via ProxyCommand argument

CRITICAL Published 2022-05-24 Modified 2024-10-23 Official page ↗
Aliases
CVE-2021-3197
Ecosystem
PyPI
Packages
salt
Severity
Critical
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-74
Reviewed
2024-04-22

Affected packages

• PyPI salt: < 2015.8.13 → fixed in 2015.8.13 • PyPI salt: >= 2016.3.0, < 2016.11.5 → fixed in 2016.11.5 • PyPI salt: >= 2016.11.7, < 2016.11.10 → fixed in 2016.11.10 • PyPI salt: >= 2017.5.0, < 2017.7.8 → fixed in 2017.7.8 • PyPI salt: >= 2018.2.0, <= 2018.3.5 (no fix yet) • PyPI salt: >= 2019.2.0, < 2019.2.8 → fixed in 2019.2.8 • PyPI salt: >= 3000, < 3000.7 → fixed in 3000.7 • PyPI salt: >= 3001, < 3001.5 → fixed in 3001.5 • PyPI salt: >= 3002, < 3002.3 → fixed in 3002.3

Description

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.

Related

Alias · CVE (1)

  • CVE-2021-3197 An issue was discovered in SaltStack Salt before 3002.5. vulnerability

Weakness · CWE (1)

  • CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component weakness

References