CVE-2021-31607

    Dashboard / Vulnerabilities / CVE-2021-31607

    CVE-2021-31607

    Published: 23 Apr 2021Last Modified: 8 Jul 2026

    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).

    Affected packages

    Package

    Name:

    Purl:

    Affected ranges

    Type: GIT

    Events:

    Introduced- f76dc0f9c06dd0690447a31544b7bd1fe7f5765a
    Fixed -None

    Affected versions

    v3002.6

    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
    CVE-2021-31607 | CVE-DB