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
Link | Resource |
---|---|
https://github.com/lxc/lxd/commit/19c6961cc1012c8a529f20807328a9357f5034f4 | Patch Third Party Advisory |
Configurations
Information
Published : 2019-04-22 09:29
Updated : 2019-10-09 16:13
NVD link : CVE-2015-1340
Mitre link : CVE-2015-1340
JSON object : View
CWE
CWE-362
Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')
Products Affected
linuxcontainers
- lxd