Advisory

PYSEC-2021-56

Also known as: CVE-2021-31607, GHSA-hcjf-rp5h-g5h3

Summary

The record has no summary.

Details

In SaltStack Salt 2016.9 through 3002.6, a command injection vulnerability exists in the snapper module that allows for local privilege escalation on a minion. The attack requires that a file is created with a pathname that is backed up by snapper, and that the master calls the snapper.diff function (which executes popen unsafely).

Severity

Not rated by the source.

Dates

Published
2021-04-23 06:15 UTC
Modified
2023-11-08 04:05 UTC

Affected packages and fixes

salt

PyPI · All systems

Affected

  • introduced 2016.11.0, fixed 3003rc1 (ecosystem)

Fixed versions

3003rc1

Fix

  • Fixed version 3003rc1
    pip install --upgrade salt==3003rc1

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: PyPA Advisory Database · CC BY 4.0

Sources & licences