Skip to content
Heist/ feed
Back to feed
Critical

Security advisory

Type: advisorySources: OSVCVE: CVE-2020-16846

An issue was discovered in SaltStack Salt through 3002. Sending crafted web requests to the Salt API, with the SSH client enabled, can result in shell injection.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2020-16846
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 10:54 UTC · Revision 1

Source evidence

CVE-2020-16846

core-osv · Original source

Published 6 Nov 2020, 08:15 UTC

An issue was discovered in SaltStack Salt through 3002. Sending crafted web requests to the Salt API, with the SSH client enabled, can result in shell injection.

osv:CVE-2020-16846
Complete source record
{
  "id": "b98e04b4e336f1a7930169acdac7b311f7b252e3904cd57ebdf3db8154c7ccc5",
  "url": "https://osv.dev/vulnerability/CVE-2020-16846",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2020-16846",
    "summary": "An issue was discovered in SaltStack Salt through 3002. Sending crafted web requests to the Salt API, with the SSH client enabled, can result in shell injection.",
    "evidence": "osv:CVE-2020-16846",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2020-16846",
      "aliases": [
        "CVE-2020-16846",
        "GHSA-qr38-h96j-2j3w",
        "PYSEC-2020-104"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/saltstack/salt",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "c3d2c4eaaef3f26e58d2f676c7456987af866155"
                },
                {
                  "fixed": "b5b083fd2655e5082e57d70a03a0f8b850e32ee9"
                },
                {
                  "fixed": "2765a4d2b9205ffd2af167882953f55ebf9f0214"
                },
                {
                  "fixed": "3c609c16ee0454217f339e987c03eaf61662a853"
                },
                {
                  "introduced": "aaa6f7d80a61637353c9af1229d2754df52ee482"
                },
                {
                  "fixed": "e8309a6bbf12b8b803fdbd410e21b8b03d8b5264"
                },
                {
                  "introduced": "11acecc43e2c2e4e9a0e73d76b46b035afe8d538"
                },
                {
                  "fixed": "7d79ea784414fc73afc85086ce912fda83f3497d"
                },
                {
                  "introduced": "a04ab86da15215c01610183e60f4a2af6131f475"
                },
                {
                  "fixed": "24c4ae9c2148a0f48e4f28c848a5011e18b57b7a"
                },
                {
                  "introduced": "11d176ff1b3c72a529a641c780de6bf70b792253"
                },
                {
                  "fixed": "8cf08bd7be0110f965ca768b2e590f68e6b0a519"
                },
                {
                  "introduced": "f44724cca5147595557cba04ff215ee31c35fe73"
                },
                {
                  "fixed": "40f72db53e2b22e7ef88e1e150caedfdf10772f1"
                },
                {
                  "introduced": "e5cd6086a75818885f2bd5bee3d7da3b2c07b110"
                },
                {
                  "fixed": "afc61ffe63770a731154f1380a91d566248a8fae"
                },
                {
                  "introduced": "d15dce349611a970fff8d3ffb462ef95ce7b2360"
                },
                {
                  "fixed": "302776b03c38514667e2292ef3553b6442ee776d"
                },
                {
                  "introduced": "19bb725698c1ead096a06749d99aad59266fbad8"
                },
                {
                  "fixed": "d520f9acc16ac5df744c08fe5153164876c1c9ee"
                },
                {
                  "introduced": "0ca04ffbebb9daeb8469a6e80d868b8a6524bd99"
                },
                {
                  "fixed": "5da2de946d243b538926f4992a1ee9a9d865e62d"
                },
                {
                  "introduced": "b95213ec903402f25c1e0aeb3990fe8452ab63ce"
                },
                {
                  "last_affected": "998c382f5f2c3b4cbf7d96aa6913ada6993909b3"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "2015.8.10"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2017.5.0"
                      },
                      {
                        "fixed": "2017.7.4"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2018.2.0"
                      },
                      {
                        "fixed": "2018.3.5"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "3000.0"
                      },
                      {
                        "fixed": "3000.3"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2015.8.11"
                      },
                      {
                        "fixed": "2015.8.13"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2016.3.0"
                      },
                      {
                        "fixed": "2016.3.4"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2016.3.5"
                      },
                      {
                        "fixed": "2016.3.6"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2016.3.7"
                      },
                      {
                        "fixed": "2016.3.8"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2016.11.0"
                      },
                      {
                        "fixed": "2016.11.3"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2016.11.4"
                      },
                      {
                        "fixed": "2016.11.6"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2016.11.7"
                      },
                      {
                        "fixed": "2016.11.10"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2017.7.5"
                      },
                      {
                        "fixed": "2017.7.8"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2019.2.0"
                      },
                      {
                        "fixed": "2019.2.5"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:saltstack:salt:3001:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "3001"
                      },
                      {
                        "last_affected": "3001"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:saltstack:salt:3002:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "3002"
                      },
                      {
                        "last_affected": "3002"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "3001",
            "3002",
            "v3002",
            "v3002rc1",
            "v3001.1",
            "v3001",
            "v3000.2_docs",
            "v2019.2.4_docs",
            "v3000.2",
            "v2019.2.4",
            "v3000.1",
            "v2019.2.3_docs",
            "v3000_docs",
            "v3000",
            "v3000.0rc1",
            "v3000.0rc2",
            "v2018.3.5",
            "v2019.2.3",
            "v2019.2.2",
            "v2018.3.4",
            "v2019.2.1",
            "v2019.2.1rc1",
            "v2019.2",
            "v2018.11",
            "v2017.7",
            "v2017.5",
            "v2017.7.3",
            "v2018.3",
            "v2018.2",
            "v2016.3.7",
            "v2017.7.0",
            "v2017.7.0rc1",
            "v2016.11.5",
            "v2016.9",
            "v2016.11",
            "v2016.3",
            "v2016.11.4",
            "v2016.11.2",
            "v2016.3.5",
            "v2016.11.1",
            "v2015.8.12",
            "v2016.11.0",
            "v2016.3.3",
            "v2016.3.2",
            "v2015.8.11",
            "v2016.3.1",
            "v2016.3.0",
            "v2015.8.9",
            "v2015.8.8",
            "v2015.8.4",
            "v2015.8",
            "v2015.8.3",
            "v2015.8.2",
            "v2015.8.1",
            "v2015.8.0",
            "v2015.8.0rc5",
            "v2015.8.0rc4",
            "v2015.8.0rc3",
            "v2015.8.0rc2",
            "v2015.8.0rc1",
            "v2015.5",
            "v2015.2",
            "v2014.7",
            "v2014.1",
            "v0.17",
            "v0.16",
            "v0.15.0",
            "v0.14.0",
            "v0.13.0",
            "v0.12.0",
            "v0.11.0",
            "v0.10.5",
            "v0.10.4",
            "v0.10.3",
            "v0.10.2",
            "v0.10.1",
            "v0.10.0",
            "v0.9.9",
            "v0.9.3",
            "v0.9.2",
            "v0.9.1",
            "v0.9.0",
            "v0.8.9",
            "v0.8.7",
            "v0.8.0",
            "v0.7.0",
            "v0.6.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-16846.json"
          }
        }
      ],
      "modified": "2026-10-20T10:52:00.124453209Z",
      "provider": "osv",
      "references": [
        "https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2020-16846",
        "https://github.com/saltstack/salt/releases",
        "https://lists.debian.org/debian-lts-announce/2020/12/msg00007.html",
        "https://lists.debian.org/debian-lts-announce/2022/01/msg00000.html",
        "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TPOGB2F6XUAIGFDTOCQDNB2VIXFXHWMA/",
        "https://security.gentoo.org/glsa/202011-13",
        "https://www.debian.org/security/2021/dsa-4837",
        "https://www.saltstack.com/blog/on-november-3-2020-saltstack-publicly-disclosed-three-new-cves/",
        "https://www.zerodayinitiative.com/advisories/ZDI-20-1379/",
        "https://www.zerodayinitiative.com/advisories/ZDI-20-1380/",
        "https://www.zerodayinitiative.com/advisories/ZDI-20-1381/",
        "https://www.zerodayinitiative.com/advisories/ZDI-20-1382/",
        "https://www.zerodayinitiative.com/advisories/ZDI-20-1383/"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*",
              "cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "debian:debian_linux",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "9.0"
                  },
                  {
                    "last_affected": "9.0"
                  },
                  {
                    "introduced": "10.0"
                  },
                  {
                    "last_affected": "10.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:o:fedoraproject:fedora:31:*:*:*:*:*:*:*"
            ],
            "vendor_product": "fedoraproject:fedora",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "31"
                  },
                  {
                    "last_affected": "31"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:*"
            ],
            "vendor_product": "opensuse:leap",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "15.1"
                  },
                  {
                    "last_affected": "15.1"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2020-16846",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 383197,
  "published_at": "2020-11-06T08:15:13.283+00:00"
}