CVE-2021-21996Saltstack Salt
High 7.5
Follow: this CVE · Saltstack · Saltstack Salt We alert you by email or Slack (account required).
- Priority
- 45
- CVSS 3.1
- 7.5
- EPSS
- 3.4% probability of exploitation in 30 days · percentile 90
- Auth required
- Yes
- Published
- Sep 8, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
What happens
An issue was discovered in SaltStack Salt before 3003.3. A user who has control of the source, and source_hash URLs can gain full file system access as root on a salt minion.
What to do
- Apply the vendor's security update for Salt.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | salt |
< 3003.3 |
3003.3 |
pip install "salt>=3003.3" |
| PyPI | salt |
< 3003.3 |
3003.3 |
pip install "salt>=3003.3" |
Per OSV / GitHub Advisories (GHSA-pf7h-h2wq-m7pg, PYSEC-2021-318). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| saltstack | salt | < 3000.3 |
| fedoraproject | fedora | 33 |
| fedoraproject | fedora | 34 |
| fedoraproject | fedora | 35 |
| debian | debian_linux | 9.0 |
| debian | debian_linux | 10.0 |
| debian | debian_linux | 11.0 |
Official sources
References
Links published by the sources. Open them with care.
- lists.debian.org Mailing List Third Party Advisory
- lists.debian.org Mailing List Third Party Advisory
- lists.fedoraproject.org Mailing List Third Party Advisory
- lists.fedoraproject.org Mailing List Third Party Advisory
- lists.fedoraproject.org Mailing List Third Party Advisory
- saltproject.io Patch Vendor Advisory
- security.gentoo.org Third Party Advisory
- www.debian.org Third Party Advisory