Skip to content

CVE-2015-1340 chmod race in doUidshiftIntoContainer

HighCVSS 8.1 EPSS 0.90%
Published
Updated
Exploit status
No public exploit known

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

ProductAffected versionsFixed in
lxc github.com/lxc/lxd(Go) < 0.0.0-20151004155856-19c6961cc101 0.0.0-20151004155856-19c6961cc101
linuxcontainers lxd All versions No fix listed
ubuntu LXD < 0.19-0ubuntu5 0.19-0ubuntu5

References