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

CVE-2021-21996 · Severity: low · CVSS 3.1 · Published 2021-09-08

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.

Technologies: salt (PyPI). Vendors: PyPI.

Quick answers

Is CVE-2021-21996 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2021-21996 being exploited in the wild.
How severe is CVE-2021-21996?
Low severity, with a CVSS score of 3.1, published 8 September 2021.
Which products and versions are affected?
salt (PyPI) ECOSYSTEM:introduced=0,fixed=3003.3.
Is there a fix for CVE-2021-21996?
Yes. salt (PyPI): upgrade to 3003.3 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2021-21996?
Check whether you run salt (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • salt (PyPI): upgrade to 3003.3 or later
    pip install "salt>=3003.3"

Affected products

  • salt (PyPI) ECOSYSTEM:introduced=0,fixed=3003.3

Identifiers

  • CVE-2021-21996
  • GHSA-pf7h-h2wq-m7pg
  • PYSEC-2021-318

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.