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.

PackageEcosystemFixed in
saltPyPI3003.3
saltAlpine3003.3-r0
saltsaltstack3000.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

VendorProductVersions
n/aSaltstack SaltSaltstack Salt (before 3003.3)
PyPIsalt0
alpinesalt0
n/aSaltstack Salt3003.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

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›