{"id":"CVE-2021-21996","aliases":["CVE-2021-21996","GHSA-pf7h-h2wq-m7pg","PYSEC-2021-318"],"related":[],"kind":"vulnerability","state":"published","title":"Exposure of Resource to Wrong Sphere in salt","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Se detectó un problema en SaltStack Salt versiones anteriores a 3003.3. Un usuario que presenta el control de las URLs source, y source_hash puede conseguir acceso completo al sistema de archivos como root en un minion de Salt","source":"nvd"}],"published":"2021-09-08T00:00:00.000Z","modified":"2026-06-17T03:36:31.510Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:H/Au:S/C:C/I:C/A:C","score":7.1,"rating":"HIGH"}],"cwes":["CWE-668"],"affected":[{"ranges":[{"version":"Saltstack Salt (before 3003.3)","status":"affected"}],"product":"Saltstack Salt","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"3003.3"}],"ecosystem":"PyPI","package":"salt","purl":"pkg:pypi/salt","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"3000.3"}],"vendor":"saltstack","product":"salt","cpe":"cpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"33"},{"status":"affected","version":"34"},{"status":"affected","version":"35"}],"vendor":"fedoraproject","product":"fedora","cpe":"cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"9.0"},{"status":"affected","version":"10.0"},{"status":"affected","version":"11.0"}],"vendor":"debian","product":"debian_linux","cpe":"cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"3003.3"}],"ecosystem":"PyPI","package":"salt","purl":"pkg:pypi/salt","source":"pysec"}],"references":[{"url":"https://saltproject.io/security_announcements/salt-security-advisory-2021-sep-02/","tags":["advisory","patch","vendor-advisory","x-transferred"],"sources":["cvelist","nvd","pysec"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MBAHHSGZLEJRCG4DX6J4RBWJAAWH55RQ/","tags":["mailing-list","third-party-advisory","vendor-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ACVT7M4YLZRLWWQ6SGRK3C6TOF4FXOXT/","tags":["mailing-list","third-party-advisory","vendor-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6BUWUF5VTENNP2ZYZBVFKPSUHLKLUBD5/","tags":["mailing-list","third-party-advisory","vendor-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://www.debian.org/security/2021/dsa-5011","tags":["third-party-advisory","vendor-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2021/11/msg00017.html","tags":["mailing-list","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2021/11/msg00019.html","tags":["mailing-list","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://security.gentoo.org/glsa/202310-22","tags":["third-party-advisory","vendor-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-21996","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/salt/PYSEC-2021-318.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/saltstack/salt","tags":["package"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6BUWUF5VTENNP2ZYZBVFKPSUHLKLUBD5","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ACVT7M4YLZRLWWQ6SGRK3C6TOF4FXOXT","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MBAHHSGZLEJRCG4DX6J4RBWJAAWH55RQ","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6BUWUF5VTENNP2ZYZBVFKPSUHLKLUBD5","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ACVT7M4YLZRLWWQ6SGRK3C6TOF4FXOXT","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MBAHHSGZLEJRCG4DX6J4RBWJAAWH55RQ","tags":["web"],"sources":["ghsa"]},{"url":"https://saltproject.io/security_announcements/salt-security-advisory-2021-sep-02","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-pf7h-h2wq-m7pg","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"vmware","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-21996","url":"https://www.cve.org/CVERecord?id=CVE-2021-21996","licence":"CVE Terms of Use","modified":"2024-08-03T18:30:23.641Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-pf7h-h2wq-m7pg","url":"https://github.com/advisories/GHSA-pf7h-h2wq-m7pg","licence":"CC-BY-4.0","modified":"2024-10-22T15:01:57.512Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-21996","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-21996","licence":"Public domain","modified":"2026-06-17T03:36:31.510Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2021-318","url":"https://osv.dev/vulnerability/PYSEC-2021-318","licence":"CC-BY-4.0","modified":"2023-11-08T04:04:53.223Z"}],"updatedAt":"2026-11-25T22:58:03.777Z","epss":{"score":0.03376,"percentile":0.8908,"date":"2026-12-01T12:00:22.000Z"}}