CVE-2022-22936 SaltStack Salt Authentication Bypass by Capture-replay
Attackers can replay job publishes and file server replies to execute old jobs or gain root access on SaltStack minions.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-22936?
CVE-2022-22936 is a high-severity vulnerability in Saltstack Salt, published on 29 Mar 2022. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
An issue was discovered in SaltStack Salt in versions before 3002.8, 3003.4, 3004.1. Job publishes and file server replies are susceptible to replay attacks, which can result in an attacker replaying job publishes causing minions to run old jobs. File server replies can also be re-played. A sufficient craft attacker could gain root access on minion under certain scenarios.
Weakness: CWE-294
Which versions are affected by CVE-2022-22936?
7 open source packages ship an affected version, including salt. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
salt PyPI | All versions | 3002.8 |
salt PyPI | All versions | 3002.8 |
salt PyPI | All versions | 3002.8 |
salt PyPI | From 3003 | 3003.4 |
salt PyPI | From 3003 | 3003.4 |
salt PyPI | From 3004 | 3004.1 |
1 more packages
salt PyPI | From 3004 | 3004.1 |
Products include Saltstack Salt.
How do I fix CVE-2022-22936?
Upgrade salt to a fixed version for your release line: 3002.8, 3003.4 or 3004.1.
Is CVE-2022-22936 being exploited?
There is no known exploitation of CVE-2022-22936 in the wild and no public exploit code.
Other vulnerabilities in Saltstack Salt
- CVE-2013-4437 SaltStack insecurely uses /tmp
- CVE-2013-6617 SaltStack Privilege Escalation vulnerability
- CVE-2021-33226 Code injection in n/a
- CVE-2021-25315 salt-api unauthenticated remote code execution
- CVE-2018-15751 SaltStack Salt Remote command execution and incorrect access control when using salt-api
Sources
Also known as GHSA-5r3f-3m3j-wcj2, PYSEC-2022-173, UBUNTU-CVE-2022-22936.