# CVE-2021-21996: Exposure of Resource to Wrong Sphere in salt

- Severity: High 7.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 3.38%, higher than 89% of CVEs (2026-12-01)
- Published: 2021-09-08T00:00:00.000Z
- Modified: 2026-06-17T03:36:31.510Z
- Also known as: GHSA-pf7h-h2wq-m7pg, PYSEC-2021-318
- Weaknesses: CWE-668
- Assigned by: vmware

## Description

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.

(As written by CVE List.)

## Affected

- Saltstack Salt: Saltstack Salt (before 3003.3); before 3000.3
- salt (PyPI): before 3003.3
- fedoraproject fedora: 33; 34; 35
- debian debian_linux: 9.0; 10.0; 11.0

## Every score

- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.1 High `AV:N/AC:H/Au:S/C:C/I:C/A:C`

## References

- <https://saltproject.io/security_announcements/salt-security-advisory-2021-sep-02/> (advisory, patch, vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MBAHHSGZLEJRCG4DX6J4RBWJAAWH55RQ/> (mailing-list, third-party-advisory, vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ACVT7M4YLZRLWWQ6SGRK3C6TOF4FXOXT/> (mailing-list, third-party-advisory, vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6BUWUF5VTENNP2ZYZBVFKPSUHLKLUBD5/> (mailing-list, third-party-advisory, vendor-advisory)
- <https://www.debian.org/security/2021/dsa-5011> (third-party-advisory, vendor-advisory, web)
- <https://lists.debian.org/debian-lts-announce/2021/11/msg00017.html> (mailing-list, third-party-advisory, web)
- <https://lists.debian.org/debian-lts-announce/2021/11/msg00019.html> (mailing-list, third-party-advisory, web)
- <https://security.gentoo.org/glsa/202310-22> (third-party-advisory, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-21996> (advisory)
- <https://github.com/pypa/advisory-database/tree/main/vulns/salt/PYSEC-2021-318.yaml> (web)
- <https://github.com/saltstack/salt> (package)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6BUWUF5VTENNP2ZYZBVFKPSUHLKLUBD5> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ACVT7M4YLZRLWWQ6SGRK3C6TOF4FXOXT> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MBAHHSGZLEJRCG4DX6J4RBWJAAWH55RQ> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6BUWUF5VTENNP2ZYZBVFKPSUHLKLUBD5> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ACVT7M4YLZRLWWQ6SGRK3C6TOF4FXOXT> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MBAHHSGZLEJRCG4DX6J4RBWJAAWH55RQ> (web)
- <https://saltproject.io/security_announcements/salt-security-advisory-2021-sep-02> (web)
- <https://github.com/advisories/GHSA-pf7h-h2wq-m7pg> (advisory)

## Sources

- CVE List: [CVE-2021-21996](https://www.cve.org/CVERecord?id=CVE-2021-21996), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-pf7h-h2wq-m7pg](https://github.com/advisories/GHSA-pf7h-h2wq-m7pg), CC-BY-4.0, modified 2024-10-22
- NVD: [CVE-2021-21996](https://nvd.nist.gov/vuln/detail/CVE-2021-21996), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2021-318](https://osv.dev/vulnerability/PYSEC-2021-318), CC-BY-4.0, modified 2023-11-08

---

Page: https://cve.day/CVE-2021-21996 · Whole record: https://cve.day/CVE-2021-21996.json · Rebuilt by cve.day 2026-11-25T22:58:03.777Z
