Bug 1895449 (CVE-2020-16846) - CVE-2020-16846 salt: sending crafted web requests to the Salt API, with the SSH client enabled, can result in shell injection
Summary: CVE-2020-16846 salt: sending crafted web requests to the Salt API, with the S...
Keywords:
Status: CLOSED WONTFIX
Alias: CVE-2020-16846
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1895450
Blocks: 1895456
TreeView+ depends on / blocked
 
Reported: 2020-11-06 17:17 UTC by Guilherme de Almeida Suckevicz
Modified: 2021-06-16 01:15 UTC (History)
6 users (show)

Fixed In Version: salt 3002.1, salt 3001.2, salt 3000.4, salt 2019.2.6
Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in salt. A shell injection vulnerability was found where an unauthenticated user with network access to the Salt API can use shell injections to run code on the Salt-API using the SSH client. An attacker could use this flaw to cause a denial of service, information disclosure, or privilege escalation. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.
Clone Of:
Environment:
Last Closed: 2020-11-06 17:35:35 UTC
Embargoed:


Attachments (Terms of Use)

Description Guilherme de Almeida Suckevicz 2020-11-06 17:17:37 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.

Reference:
https://www.saltstack.com/blog/on-november-3-2020-saltstack-publicly-disclosed-three-new-cves/

Comment 1 Guilherme de Almeida Suckevicz 2020-11-06 17:18:00 UTC
Created salt tracking bugs for this issue:

Affects: fedora-all [bug 1895450]

Comment 2 Bryce Larson 2020-11-06 17:35:35 UTC
This was already fixed in salt 3001.3 and 3002.1 which have been released in fedora 31, 32, 33, and rawhide.

Comment 4 Przemyslaw Roguski 2020-11-09 11:40:15 UTC
Upstream fix commit:
https://github.com/saltstack/salt/commit/a553580971ffe08bc9c684a5071c43d3708f0ad6

Comment 8 Hardik Vyas 2020-11-09 12:51:58 UTC
Mitigation:

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

Comment 9 Eric Christensen 2020-11-09 18:39:12 UTC
Statement:

Red Hat Ceph Storage 2 shipped salt for the usage of Red Hat Storage Console 2 (RHSCON-2), which required salt to administrate ceph nodes. RHSCON-2 has reached End Of Life, hence salt is no longer used and supported. Therefore, the salt package provided by Red Hat Ceph Storage 2 has been marked as 'will not fix'.


Note You need to log in before you can comment on or make changes to this bug.