GHSA-8mpq-fmr3-6jxv

    Dashboard / Vulnerabilities / GHSA-8mpq-fmr3-6jxv

    GHSA-8mpq-fmr3-6jxv

    Published: 24 May 2022Last Modified: 8 Nov 2023

    Summary: LXD vulnerable to Race Condition

    Details: LXD before version 0.19-0ubuntu5 `doUidshiftIntoContainer()` has an unsafe `Chmod()` call that races against the stat in the `Filepath.Walk()` function. A symbolic link created in that window could cause any file on the system to have any mode of the attacker's choice. ### Specific Go Packages Affected github.com/lxc/lxd/shared

    Affected packages

    Package

    Name: github.com/lxc/lxd

    Purl: pkg:golang/github.com/lxc/lxd

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -0.0.0-20151004155856-19c6961cc101

    Affected versions

    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
    GHSA-8mpq-fmr3-6jxv | CVE-DB