Arbitrary Pillar Data Substitution in SaltStack Salt (CVE-2022-22934)

salt Updated 02 Oct 2025

Summary

04/06/2024
N/A
No i
High
8.8

CVE-2022-22934: An issue was discovered in SaltStack Salt in versions before 3002.8, 3003.4, 3004.1. Affects salt versions >= 998c382f5f2c3b4cbf7d96aa6913ada6993909b3, < 836789a88156bb19fdac3fa00139cd278f92418c. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

SaltStack Salt is an open-source configuration management and remote execution software. It is used for managing and automating the configuration of servers and network devices. Salt Masters in versions before 3002.8, 3003.4, and 3004.1 do not sign pillar data with the minion's public key, which can lead to attackers substituting arbitrary pillar data.

Vulnerability Detail

The vulnerability (CVE-2022-22934) in SaltStack Salt allows attackers to replace legitimate pillar data with arbitrary data. This can result in unauthorized access, privilege escalation, and potential compromise of the Salt Master. The issue arises from the lack of proper signing of pillar data with the minion's public key.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a workaround, users can manually sign the pillar data with the minion's public key before sending it to the Salt Master. This can be achieved by implementing custom code or scripts to ensure the integrity and authenticity of the pillar data.

Conclusion

In conclusion, the vulnerability (CVE-2022-22934) in SaltStack Salt allows for arbitrary substitution of pillar data, potentially leading to unauthorized access and compromise of the Salt Master. It is crucial to upgrade to the recommended versions or implement the provided workaround to mitigate the risk. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for salt →

Share this vulnerability

FAQ

SaltStack Salt is an open-source configuration management and remote execution software used for managing and automating the configuration of servers and network devices.

This vulnerability allows attackers to substitute arbitrary pillar data, potentially leading to unauthorized access, privilege escalation, and compromise of the Salt Master.

Versions before 3002.8, 3003.4, and 3004.1 of SaltStack Salt are affected by this vulnerability.

To fix this vulnerability, it is recommended to upgrade SaltStack Salt to version 3002.8, 3003.4, or 3004.1.

Yes, a workaround is available. Users can manually sign the pillar data with the minion's public key before sending it to the Salt Master.

Related vulnerabilities

Recent vulnerabilities recorded for salt.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback