Read the docs
TI-2021-02234 Aliases CVE-2021-3148GHSA-ghc2-hx3w-jqmp

An issue was discovered in SaltStack Salt before 3002.5.

Priority MEDIUM 53CWE-77Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Partial Red Hat: 1 without a fix

Attack profile from CVSS 3.1 · NVD. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-77.

Summary

An issue was discovered in SaltStack Salt before 3002.5. Sending crafted web requests to the Salt API can result in salt.utils.thin.gen_thin() command injection because of different handling of single versus double quotes. This is related to salt/utils/thin.py.

Why it matters now

EPSS 0.08246 94th percentileScored 2026-11-07
Fix Partial salt (PyPI): 2015.8.13, 2016.11.5, 2016.11.10 +5Red Hat: 1 without a fix

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
—salt (PyPI)before 2015.8.132015.8.13Patch availableGHSA-ghc2-hx3w-jqmp
—salt (PyPI)2016.3.0 to before 2016.11.52016.11.5Patch availableGHSA-ghc2-hx3w-jqmp
—salt (PyPI)2016.11.7 to before 2016.11.102016.11.10Patch availableGHSA-ghc2-hx3w-jqmp
—salt (PyPI)2017.5.0 to before 2017.7.82017.7.8Patch availableGHSA-ghc2-hx3w-jqmp
—salt (PyPI)2018.2.0 – 2018.3.5—No fix listedGHSA-ghc2-hx3w-jqmp
—salt (PyPI)2019.2.0 to before 2019.2.82019.2.8Patch availableGHSA-ghc2-hx3w-jqmp
—salt (PyPI)3000 to before 3000.73000.7Patch availableGHSA-ghc2-hx3w-jqmp
—salt (PyPI)3001 to before 3001.53001.5Patch availableGHSA-ghc2-hx3w-jqmp
—salt (PyPI)3002 to before 3002.33002.3Patch availableGHSA-ghc2-hx3w-jqmp
  • — Vendor— Affected all versions Fixed in — No fix listed CNA
  • salt (PyPI) Vendor— Affected before 2015.8.13 Fixed in 2015.8.13 Patch available GHSA-ghc2-hx3w-jqmp
  • salt (PyPI) Vendor— Affected 2016.3.0 to before 2016.11.5 Fixed in 2016.11.5 Patch available GHSA-ghc2-hx3w-jqmp
  • salt (PyPI) Vendor— Affected 2016.11.7 to before 2016.11.10 Fixed in 2016.11.10 Patch available GHSA-ghc2-hx3w-jqmp
  • salt (PyPI) Vendor— Affected 2017.5.0 to before 2017.7.8 Fixed in 2017.7.8 Patch available GHSA-ghc2-hx3w-jqmp
  • salt (PyPI) Vendor— Affected 2018.2.0 – 2018.3.5 Fixed in — No fix listed GHSA-ghc2-hx3w-jqmp
  • salt (PyPI) Vendor— Affected 2019.2.0 to before 2019.2.8 Fixed in 2019.2.8 Patch available GHSA-ghc2-hx3w-jqmp
  • salt (PyPI) Vendor— Affected 3000 to before 3000.7 Fixed in 3000.7 Patch available GHSA-ghc2-hx3w-jqmp
  • salt (PyPI) Vendor— Affected 3001 to before 3001.5 Fixed in 3001.5 Patch available GHSA-ghc2-hx3w-jqmp
  • salt (PyPI) Vendor— Affected 3002 to before 3002.3 Fixed in 3002.3 Patch available GHSA-ghc2-hx3w-jqmp

CPE configurations NVD · 7

CPEVersionsRoleVendor
cpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:*before 2015.8.10; 2015.8.11 to before 2015.8.13; 2016.3.0 to before 2016.3.4; 2016.3.5 to before 2016.3.6; 2016.3.7 to before 2016.3.8; 2016.3.9 to before 2016.11.3; 2016.11.4 to before 2016.11.5; 2016.11.7 to before 2016.11.10; 2017.5.0 to before 2017.7.8; 2018.2.0 – 2018.3.5; 2019.2.0 to before 2019.2.5; 2019.2.6 to before 2019.2.8; 3000 to before 3000.6; 3001 to before 3001.4; 3002 to before 3002.5VulnerableSaltStack
cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:*32VulnerableFedoraproject
cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*33VulnerableFedoraproject
cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*34VulnerableFedoraproject
cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*9.0VulnerableDebian
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*10.0VulnerableDebian
cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*11.0VulnerableDebian
  • cpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:* Versions before 2015.8.10; 2015.8.11 to before 2015.8.13; 2016.3.0 to before 2016.3.4; 2016.3.5 to before 2016.3.6; 2016.3.7 to before 2016.3.8; 2016.3.9 to before 2016.11.3; 2016.11.4 to before 2016.11.5; 2016.11.7 to before 2016.11.10; 2017.5.0 to before 2017.7.8; 2018.2.0 – 2018.3.5; 2019.2.0 to before 2019.2.5; 2019.2.6 to before 2019.2.8; 3000 to before 3000.6; 3001 to before 3001.4; 3002 to before 3002.5 Vulnerable ·SaltStack
  • cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:* Versions 32 Vulnerable ·Fedoraproject
  • cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:* Versions 33 Vulnerable ·Fedoraproject
  • cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:* Versions 34 Vulnerable ·Fedoraproject
  • cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* Versions 9.0 Vulnerable ·Debian
  • cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* Versions 10.0 Vulnerable ·Debian
  • cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* Versions 11.0 Vulnerable ·Debian

Remediation

  • Fix · GHSA-ghc2-hx3w-jqmp salt (PyPI) Fixed in 2015.8.13 Advisory →
  • Fix · GHSA-ghc2-hx3w-jqmp salt (PyPI) Fixed in 2016.11.5 Advisory →
  • Fix · GHSA-ghc2-hx3w-jqmp salt (PyPI) Fixed in 2016.11.10 Advisory →
  • Fix · GHSA-ghc2-hx3w-jqmp salt (PyPI) Fixed in 2017.7.8 Advisory →
  • Fix · GHSA-ghc2-hx3w-jqmp salt (PyPI) Fixed in 2019.2.8 Advisory →
  • Fix · GHSA-ghc2-hx3w-jqmp salt (PyPI) Fixed in 3000.7 Advisory →
  • Fix · GHSA-ghc2-hx3w-jqmp salt (PyPI) Fixed in 3001.5 Advisory →
  • Fix · GHSA-ghc2-hx3w-jqmp salt (PyPI) Fixed in 3002.3 Advisory →

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Ceph Storage 2AffectedNo fix planned: Out of support scope

Timeline

  1. 2026-10-02 Threatist record created from CVE-2021-3148
  2. 2026-10-03 Alias added: GHSA-ghc2-hx3w-jqmp

References

Sources