{"id":"CVE-2015-1340","aliases":["GO-2021-0071"],"url":"https://o3.security/vulnerability/CVE-2015-1340","summary":"LXD vulnerable to Race Condition","details":"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.\n\n### Specific Go Packages Affected\ngithub.com/lxc/lxd/shared","published":"2022-05-24T16:44:07Z","modified":"2023-11-08T03:57:49.708284Z","cvss":{"score":8.1,"severity":"HIGH","vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Go","name":"github.com/lxc/lxd","fixedVersion":"0.0.0-20151004155856-19c6961cc101"}],"fix":{"url":"https://github.com/lxc/lxd/pull/1189","label":"lxc/lxd#1189"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2015-1340"},{"type":"WEB","url":"https://github.com/lxc/lxd/pull/1189"},{"type":"WEB","url":"https://github.com/lxc/lxd/commit/19c6961cc1012c8a529f20807328a9357f5034f4"},{"type":"WEB","url":"https://bugs.launchpad.net/ubuntu/+source/lxd/+bug/1502270"},{"type":"PACKAGE","url":"https://github.com/lxc/lxd"},{"type":"WEB","url":"https://pkg.go.dev/vuln/GO-2021-0071"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2023-11-08T03:57:49.708284Z"}}