PYSEC-2021-56
Dashboard / Vulnerabilities / PYSEC-2021-56
PYSEC-2021-56
Published: 23 Apr 2021Last Modified: 8 Nov 2023
Aliases:
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).
References: https://sec.stealthcopter.com/saltstack-snapper-minion-privledge-escaltion/, https://lists.fedoraproject.org/archives/list/[email protected]/message/LDKMAJXYFHM4USVX3H5V2GCCBGASWUSM/, https://github.com/advisories/GHSA-hcjf-rp5h-g5h3
Affected packages
Package
Name: salt
Purl: pkg:pypi/salt
Affected ranges
Type: ECOSYSTEM
Events:
Introduced- 2016.11.0
Fixed -3003rc1
Affected versions
2016.11.0
2016.11.1
2016.11.2
2016.11.3
2016.11.4
2016.11.5
2016.11.6
2016.11.7
2016.11.8
2016.11.9
2016.11.10
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
