{"id":"CVE-2015-1340","published":"2019-04-22T15:35:59Z","modified":"2024-09-17T01:10:47Z","title":"chmod race in doUidshiftIntoContainer","vendor":"Ubuntu","product":"LXD","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7,"severity":"HIGH","version":"3.0","vector":"CVSS:3.0/AV:P/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00896,"percentile":0.60432,"provenance":"source"},"cwes":[],"references":[{"url":"https://github.com/lxc/lxd/commit/19c6961cc1012c8a529f20807328a9357f5034f4","tags":["x_refsource_MISC"]}],"priority":{"score":17.0,"factors":[{"name":"EPSS percentile","points":12.09},{"name":"CVSS severity","points":4.9}]},"vendorSlug":"ubuntu","affectedVersions":[{"vendor":"Ubuntu","product":"LXD","versions":[">= unspecified, < 0.19-0ubuntu5"]}],"affected":[{"ecosystem":"Go","package":"github.com/lxc/lxd","vulnerableRanges":["<0.0.0-20151004155856-19c6961cc101"],"patched":["0.0.0-20151004155856-19c6961cc101"],"from":["GHSA-8mpq-fmr3-6jxv","GO-2021-0071"],"provenance":"source"}],"summary":{"text":"A race condition in the doUidshiftIntoContainer function of Ubuntu's LXD container manager (versions before 0.19-0ubuntu5) makes an unsafe chmod call that races against a stat in Filepath.Walk. A local user with low privileges who can create symbolic links during that timing window can change the permissions of arbitrary files on the system, and the attack requires winning the race and involves no user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:56:14Z"},"euvd":{"id":"EUVD-2022-3203","exploited":false,"provenance":"source"}}