VDB
CVE-2021-21996
CVE-2021-21996
PUBLISHED
CVSS 7.5 HIGH
Exposure of Resource to Wrong Sphere in salt
Reported by vmware · Published September 8, 2021
salt is fixed in 3003.3 (PyPI)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| salt | PyPI | 3003.3 |
| salt | Alpine | 3003.3-r0 |
| salt | saltstack | 3000.3 |
Risk scores
CVSS 3.1
7.5
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | Saltstack Salt | Saltstack Salt (before 3003.3) |
| PyPI | salt | 0 |
| alpine | salt | 0 |
| n/a | Saltstack Salt | 3003.3 |
Timeline
- Sep 8, 2021 CVE Published
- Sep 9, 2021 EPSS Score (30 in total, the first dated here)
- Jun 21, 2022 CVE Updated
- Mar 9, 2026 Security Advisory (5 in total, the first dated here)
- Aug 25, 2026 Coalition ESS Score
- Oct 31, 2026 Distribution Patch
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2021-21996
vulnetix vdb fixes CVE-2021-21996
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-21996/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- FEDORA-2021-00ada7e667 vendor-advisory
- FEDORA-2021-93a7c8b7c6 vendor-advisory
- FEDORA-2021-158e9c6eb9 vendor-advisory
- DSA-5011 vendor-advisory
- [debian-lts-announce] 20211119 [SECURITY] [DLA 2823-1] salt security update mailing-list
- [debian-lts-announce] 20211121 [SECURITY] [DLA 2823-2] salt regression update mailing-list
- GLSA-202310-22 vendor-advisory
- https://nvd.nist.gov/vuln/detail/CVE-2021-21996 advisory
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6BUWUF5VTENNP2ZYZBVFKPSUHLKLUBD5/ url
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ACVT7M4YLZRLWWQ6SGRK3C6TOF4FXOXT/ url
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MBAHHSGZLEJRCG4DX6J4RBWJAAWH55RQ/ url
- https://github.com/pypa/advisory-database/tree/main/vulns/salt/PYSEC-2021-318.yaml advisory
- https://github.com/advisories/GHSA-pf7h-h2wq-m7pg advisory