Summary
In Salt, pkg.installed and pkg.install skipped GPG signature verification for packages installed via the sources parameter on RPM-based systems (yum, dnf, dnf5, zypper), even with the default skip_verify: False. A package installed by file path was never checked, so an unsigned or tampered RPM could be installed even though signature verification was expected (CWE-347).
Per the CVSS vector (8.1, high), the attack is network-based, requires no authentication and no user interaction, but has high complexity – the attacker must manage to plant a tampered package in a source Salt uses. Successful exploitation leads to full compromise of confidentiality, integrity and availability of the target system. It is not listed in CISA KEV; EPSS is low (about 0.38%).
Who is affected
Organizations using Salt (versions 3006.0–3006.30, 3007.0–3007.17, 3008.0–3008.5) to manage RPM-based systems and installing packages via the sources parameter.
What to do
- Upgrade Salt to 3006.31, 3007.18 or 3008.6, which contain the fix (yumpkg.install() and zypperpkg.install() then verify each sources package's RPM signature directly and refuse unsigned or failing packages).
- Review Salt states for pkg.installed/pkg.install usage with the sources parameter on RPM systems.
- Verify the sources (URLs, paths) RPM packages are fetched from and restrict access to trusted systems only.
- On already managed systems, verify signatures of installed packages that were deployed via sources.
- Follow the official Salt Project advisory (3006.31/3007.18/3008.6) for further details.
Vendor solution
yumpkg.install() and zypperpkg.install() verify each sources package's RPM signature directly when skip_verify is False, and refuse to install any package that is unsigned or fails verification. Upgrade to Salt 3006.31, 3007.18, or 3008.6, which contain the fix.
Original text from the vendor's CVE record.
Affected products and versions
CVSS vector, explained
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- Network (from the internet)
- Attack complexity
- High
- Privileges required
- None (no login)
- User interaction
- Not required
- Scope
- Vulnerable component only
- Confidentiality
- High impact
- Integrity
- High impact
- Availability
- High impact
Weakness type (CWE)
- CWE-347 Improper Verification of Cryptographic Signature
References
- github.com/saltstack/salt/issues/69905
- saltproject.io/blog/advisory-3006-31-3007-18-3008-6 vendor advisory
Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.