CVE-2022-22936 SaltStack Salt Authentication Bypass by Capture-replay

High 8.8 Published Updated

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.

PackageAffectedFixed in
salt PyPIAll versions3002.8
salt PyPIAll versions3002.8
salt PyPIAll versions3002.8
salt PyPIFrom 30033003.4
salt PyPIFrom 30033003.4
salt PyPIFrom 30043004.1
1 more packages
salt PyPIFrom 30043004.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.

All Saltstack Salt vulnerabilities

Sources

Also known as GHSA-5r3f-3m3j-wcj2, PYSEC-2022-173, UBUNTU-CVE-2022-22936.

Is CVE-2022-22936 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free