Skip to main content
← All vulnerabilities
CVE-2021-3148GHSA-GHC2-HX3W-JQMPPYSEC-2021-55

An issue was discovered in SaltStack Salt before 3002.5.

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2015.8.13, 2016.11.5, 2016.11.10, 2017.7.8, 2019.2.8, and 13 more
None on Exploit-DB, Metasploit or GitHub

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • n/a n/a

    Version range not reported

  • saltPyPI

    fixed in 2015.8.13

  • saltPyPI

    From 2016.3.0 · fixed in 2016.11.5

  • saltPyPI

    From 2016.11.7 · fixed in 2016.11.10

  • saltPyPI

    From 2017.5.0 · fixed in 2017.7.8

  • saltPyPI

    From 2018.2.0 · through 2018.3.5

  • saltPyPI

    From 2019.2.0 · fixed in 2019.2.8

  • saltPyPI

    From 3000 · fixed in 3000.7

  • saltPyPI

    From 3001 · fixed in 3001.5

  • saltPyPI

    From 3002 · fixed in 3002.3

  • saltPyPI

    fixed in 2015.8.10; From 2015.8.11 · fixed in 2015.8.13; From 2016.3.0 · fixed in 2016.3.4; From 2016.3.5 · fixed in 2016.3.6; From 2016.3.7 · fixed in 2016.3.8; From 2016.11.0 · fixed in 2016.11.3; From 2016.11.4 · fixed in 2016.11.5; From 2016.11.7 · fixed in 2016.11.10; From 2017.7.0 · fixed in 2017.7.8; From 2018.3.0rc1 · fixed in 2019.2.0rc1; From 2019.2.0 · fixed in 2019.2.5; From 2019.2.6 · fixed in 2019.2.8; From 3000 · fixed in 3000.6; From 3001 · fixed in 3001.4; From 3002 · fixed in 3002.5

References 9

GitHub · saltstack/salt

saltproject.io

lists.fedoraproject.org

security.gentoo.org

lists.debian.org

debian.org