Description
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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Ubuntu | LXD | unspecified – < 0.19-0ubuntu5 | 0.19-0ubuntu5 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Go | github.com/lxc/lxd | < 0.0.0-20151004155856-19c6961cc101 | 0.0.0-20151004155856-19c6961cc101 | GHSA-8mpq-fmr3-6jxv |