All reports
High

LXD vulnerable to Race Condition

Affected versions

Version ranges need review.

Affected versions
<0.0.0-20151004155856-19c6961cc101
Fixed version
0.0.0-20151004155856-19c6961cc101
Affected versions
< 0.0.0-20151004155856-19c6961cc101
Fixed version
0.0.0-20151004155856-19c6961cc101

Exploitation

CVE-2015-1340

Probability of exploitation in the next 30 days: 0.90%

FIRST EPSS · 2026-11-23

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.

Specific Go Packages Affected

github.com/lxc/lxd/shared

Links

Credits

  • Seth Arnold