published 22 Apr 2019 · updated 17 Sep 2024
chmod race in doUidshiftIntoContainer
7.0HighCVSS 7.0EPSS 1%
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 0.19-0ubuntu5.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Ubuntu | <0.19-0ubuntu5 | 0.19-0ubuntu5 |
Timeline
Every event on this vulnerability
Embed
A live severity badge for an advisory, README or ticket