Advisory

GHSA-pf7h-h2wq-m7pg

Also known as: CVE-2021-21996, PYSEC-2021-318

Summary

Exposure of Resource to Wrong Sphere in salt

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2021-11-21 00:00 UTC
Modified
2024-10-22 15:01 UTC

Affected packages and fixes

salt

PyPI · All systems

Affected

  • introduced 0, fixed 3003.3 (ecosystem)

Fixed versions

3003.3

Fix

  • Fixed version 3003.3
    pip install --upgrade salt==3003.3

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences