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.
References (1)
Core 1
Core References
Patch, Third Party Advisory x_refsource_misc
https://github.com/lxc/lxd/commit/19c6961cc1012c8a529f20807328a9357f5034f4
Scores
CVSS v3
7.0
EPSS
0.0033
EPSS Percentile
55.5%
Attack Vector
PHYSICAL
CVSS:3.0/AV:P/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
Details
CWE
CWE-362
Status
published
Products (2)
linuxcontainers/lxd
lxc/lxd
0 - 0.0.0-20151004155856-19c6961cc101Go
Published
Apr 22, 2019
Tracked Since
Feb 18, 2026