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 |
https://github.com/lxc/lxd/commit/19c6961cc1012c8a529f20807328a9357f5034f4 | Patch Third Party Advisory |
Configurations
History
21 Nov 2024, 02:25
Type | Values Removed | Values Added |
---|---|---|
CVSS |
v2 : v3 : |
v2 : 6.8
v3 : 7.0 |
References | () https://github.com/lxc/lxd/commit/19c6961cc1012c8a529f20807328a9357f5034f4 - Patch, Third Party Advisory |
Information
Published : 2019-04-22 16:29
Updated : 2024-11-21 02:25
NVD link : CVE-2015-1340
Mitre link : CVE-2015-1340
CVE.ORG link : CVE-2015-1340
JSON object : View
Products Affected
linuxcontainers
- lxd
CWE
CWE-362
Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')