CVE-2015-1340 chmod race in doUidshiftIntoContainer
HighCVSS 8.1
EPSS 0.90%
- Published
- Updated
- Exploit status
- No public exploit known
Description
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 products
| Product | Affected versions | Fixed in |
|---|---|---|
| lxc github.com/lxc/lxd(Go) | < 0.0.0-20151004155856-19c6961cc101 | 0.0.0-20151004155856-19c6961cc101 |
| linuxcontainers lxd | All versions | No fix listed |
| ubuntu LXD | < 0.19-0ubuntu5 | 0.19-0ubuntu5 |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch third-party-advisory
- github.com patch
- bugs.launchpad.net
- pkg.go.dev
- github.com
- github.com product
- Debian Security Tracker CVE-2015-1340 vendor-advisory