High
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-21996
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 08:10 UTC · Revision 1
Source evidence
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.
osv:CVE-2021-21996
Complete source record
{
"id": "3d50f35dc6a0ee00ce94c1277c47825cfc85bfc3554dac203d4ab2b4833e25ed",
"url": "https://osv.dev/vulnerability/CVE-2021-21996",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2021-21996",
"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.",
"evidence": "osv:CVE-2021-21996",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2021-21996",
"aliases": [
"CVE-2021-21996",
"GHSA-pf7h-h2wq-m7pg",
"PYSEC-2021-318"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/saltstack/salt",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "3c609c16ee0454217f339e987c03eaf61662a853"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "3000.3"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v3000.2_docs",
"v3000.2",
"v3000.1",
"v3000_docs",
"v3000",
"v3000.0rc1",
"v3000.0rc2",
"v2019.2.1",
"v2019.2.1rc1",
"v2019.2",
"v2018.11",
"v2017.7",
"v2017.5",
"v2018.3",
"v2018.2",
"v2016.9",
"v2016.11",
"v2016.3",
"v2015.8",
"v2015.5",
"v2015.2",
"v2014.7",
"v2014.1",
"v0.17",
"v0.16",
"v0.15.0",
"v0.14.0",
"v0.13.0",
"v0.12.0",
"v0.11.0",
"v0.10.5",
"v0.10.4",
"v0.10.3",
"v0.10.2",
"v0.10.1",
"v0.10.0",
"v0.9.9",
"v0.9.3",
"v0.9.2",
"v0.9.1",
"v0.9.0",
"v0.8.9",
"v0.8.7",
"v0.8.0",
"v0.7.0",
"v0.6.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-21996.json"
}
}
],
"modified": "2026-10-24T10:31:03.801612772Z",
"provider": "osv",
"references": [
"https://lists.debian.org/debian-lts-announce/2021/11/msg00017.html",
"https://lists.debian.org/debian-lts-announce/2021/11/msg00019.html",
"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6BUWUF5VTENNP2ZYZBVFKPSUHLKLUBD5/",
"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ACVT7M4YLZRLWWQ6SGRK3C6TOF4FXOXT/",
"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MBAHHSGZLEJRCG4DX6J4RBWJAAWH55RQ/",
"https://security.gentoo.org/glsa/202310-22",
"https://www.debian.org/security/2021/dsa-5011",
"https://saltproject.io/security_announcements/salt-security-advisory-2021-sep-02/"
],
"provider_metadata": {
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*",
"cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*",
"cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"
],
"vendor_product": "debian:debian_linux",
"extracted_events": [
{
"range": [
{
"introduced": "9.0"
},
{
"last_affected": "9.0"
},
{
"introduced": "10.0"
},
{
"last_affected": "10.0"
},
{
"introduced": "11.0"
},
{
"last_affected": "11.0"
}
],
"source": "CPE_STRING"
}
]
},
{
"cpes": [
"cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*",
"cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*",
"cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*"
],
"vendor_product": "fedoraproject:fedora",
"extracted_events": [
{
"range": [
{
"introduced": "33"
},
{
"last_affected": "33"
},
{
"introduced": "34"
},
{
"last_affected": "34"
},
{
"introduced": "35"
},
{
"last_affected": "35"
}
],
"source": "CPE_STRING"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2021-21996",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 440350,
"published_at": "2021-09-08T15:15:12.67+00:00"
}