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.
github.com/lxc/lxd/shared
{ "nvd_published_at": "2019-04-22T16:29:00Z", "cwe_ids": [ "CWE-362" ], "severity": "HIGH", "github_reviewed": true, "github_reviewed_at": "2023-02-07T22:39:10Z" }