Cyber Resilience

CVE-2021-3197

Saltstack Salt ≤ 2015.8.10

High EPSS
Published
27 February 2021
Modified
21 November 2024
Patch / advisory
CVSS Score v3.1 9.8
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS Score 0.72 99.4th percentile
Risk Priority 97 floored blend · peak EPSS

Summary

CVE-2021-3197 is a critical-severity Injection (CWE-74) vulnerability in Saltstack Salt. Its CVSS base score is 9.8 (Critical).

Operationally, ranked in the top 0.6% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

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.

CWE(s)

Related Threats

Likely ATT&CK TechniquesAI

Techniques this vulnerability likely enables, inferred from its description, weakness type, and attributed-actor tradecraft. Confidence is per-technique.

T1059.004 Unix Shell Executionconfidence: HIGH
Shell injection via ProxyCommand or ssh_options in salt-api requests enables arbitrary Unix shell command execution.
T1071.001 Web Protocols Command And Controlconfidence: MEDIUM
Exploitation occurs over the salt-api's web interface, which uses HTTP/HTTPS.
inferred from description + CWE · MITRE ATT&CK Enterprise v19.0

CVEs Like This One

CVE-2023-43655Same product: Debian Debian Linux
CVE-2024-42472Same product: Debian Debian Linux
CVE-2023-29007Same product: Fedoraproject Fedora
CVE-2023-29405Same product: Fedoraproject Fedora
CVE-2023-6004Same product: Fedoraproject Fedora
CVE-2023-27635Same vendor: Debian
CVE-2024-23280Same product: Fedoraproject Fedora
CVE-2023-6174Same product: Debian Debian Linux
CVE-2025-20216Shared CWE-74
CVE-2024-23648Shared CWE-74

Affected Assets

saltstack
salt
≤ 2015.8.10 · 2015.8.11 — 2015.8.13 · 2016.3.0 — 2016.3.4
fedoraproject
fedora
32, 33, 34
debian
debian linux
10.0, 11.0, 9.0

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

Detect
Catch it (NIST detect / respond)

Harden
Shrink the surface (DISA STIG)

Validate
Prove the fix (OWASP ASVS)
  • V1.2.1
  • V1.2.3
  • V1.2.5
  • V1.2.8

Likely Mitigating Controls AI

Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.

addresses: CWE-74

Developer assessments and testing (including injection-focused techniques) identify improper neutralization of special elements, and the verifiable flaw remediation corrects them pre-deployment.

addresses: CWE-74

Identifies indicators of injection attacks (command, SQL, LDAP, etc.) via anomaly and attack monitoring.

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.PS-06 mostly match
prevents

Secure SDLC practices directly require input validation and output encoding that prevent injection flaws.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

detects

Security testing in development catches injection vulnerabilities before release.

A.8.15 Logging partial match
detects

Logging supports detection of injection attempts but does not prevent the weakness.

detects

Monitoring activities can identify active injection attacks after they occur.

prevents

Secure development life cycle mandates input validation and output encoding that directly prevent injection flaws.

prevents

Application security requirements explicitly call for controls against injection attacks in software design.

prevents

Secure architecture principles reduce injection surfaces but do not prescribe specific neutralization techniques.

References