GitHub Advisory Database
GHSA-8mpq-fmr3-6jxv
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
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | github.com/lxc/lxd | All versions before 0.0.0-20151004155856-19c6961cc101 (fixed in 0.0.0-20151004155856-19c6961cc101) |