CVE-2015-1340GHSA-8MPQ-FMR3-6JXVGO-2021-0071
chmod race in doUidshiftIntoContainer
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 0.19-0ubuntu5, 0.0.0-20151004155856-19c6961cc101
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
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.
Timeline
- CVE published
- Record last updated
Affected versions
- Ubuntu LXD
fixed in 0.19-0ubuntu5
- github.com/lxc/lxdGo
fixed in 0.0.0-20151004155856-19c6961cc101