{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2015-1340","published":"2019-04-22T16:29:00.897000Z","last_modified":"2026-06-17T00:22:13.613000Z","status":"Modified","cvss":{"version":"3.0","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","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-362"],"cpes":[{"criteria":"cpe:2.3:a:linuxcontainers:lxd:-:*:*:*:*:*:*:*","part":"a","vendor":"linuxcontainers","product":"lxd"}],"cpes_truncated":false,"vendors":["linuxcontainers"],"products":["linuxcontainers/lxd"],"epss":{"score":0.00896,"percentile":0.57573,"date":"2026-11-27","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-8mpq-fmr3-6jxv","ecosystem":"Go","name":"github.com/lxc/lxd","purl":"pkg:golang/github.com/lxc/lxd","ranges":[{"introduced":"0","fixed":"0.0.0-20151004155856-19c6961cc101"}],"versions":[],"versions_truncated":false},{"advisory":"GO-2021-0071","ecosystem":"Go","name":"github.com/lxc/lxd","purl":"pkg:golang/github.com/lxc/lxd","ranges":[{"introduced":"0","fixed":"0.0.0-20151004155856-19c6961cc101"}],"versions":[],"versions_truncated":false}],"severity":"high","priority_score":64,"links":{"html_es":"/es/cve/CVE-2015-1340/","html_en":"/en/cve/CVE-2015-1340/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2015-1340","cve_org":"https://www.cve.org/CVERecord?id=CVE-2015-1340"},"untrusted":{"vendor_name":"Linuxcontainers","product_name":"Lxd","desc_en":"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":[{"untrusted_vendor":"Ubuntu","untrusted_product":"LXD","versions":[]}],"references":[{"url":"https://github.com/lxc/lxd/commit/19c6961cc1012c8a529f20807328a9357f5034f4","tags":["Patch","Third Party Advisory"]}]}}