LXD vulnerable to Race Condition
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. ### Specific Go Packages Affected github.com/lxc/lxd/shared
01
describes (1)
Related CVEs.
| ID | severity | exploitable | ||
|---|---|---|---|---|
| CVE-2015-1340US | high8.1 | — | ||
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 w… | ||||
02
references
External citations — patches, advisories, analysis.
- https://bugs.launchpad.net/ubuntu/+source/lxd/+bug/1502270WEB
- https://github.com/lxc/lxdPACKAGE
- https://github.com/lxc/lxd/commit/19c6961cc1012c8a529f20807328a9357f5034f4WEB
- https://github.com/lxc/lxd/pull/1189WEB
- https://nvd.nist.gov/vuln/detail/CVE-2015-1340ADVISORY
- https://pkg.go.dev/vuln/GO-2021-0071WEB
scry
Advisories like this name the exposed products attackers go after on your perimeter. See what is exposed on your perimeter with a free passive scan.
Free scan