CVE-2015-1340: chmod race in doUidshiftIntoContainer
Vulnerability summary
CVE-2015-1340 is a high (CVSS 8.1) vulnerability in linuxcontainers lxd. EPSS estimates a 0.90% chance of exploitation in the next 30 days, higher than 60.8% of scored vulnerabilities.
Not severe (CVSS 7, physical access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 22-04-2019PublishedVulnerability first disclosed.
- 17-09-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
4 scores · 3 sources · 2 versions- CVE.orgCNA7.0HighCVSS:3.0/AV:P/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:HDiffers
- OSV · GoEcosystem advisory · calculated8.1HighCVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.90%
Chance of exploitation in the next 30 days
Percentile
61%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.90% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: physical access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Github.com/lxc1 product
- lxd< 0.0.0-20151004155856-19c6961cc101
Linuxcontainers1 product
- lxdna
Ubuntu1 product
- lxd≥ unspecified, < 0.19-0ubuntu5
3 vendors · 3 products
References
6 links- github.com/lxc/lxd/commit/19c6961cc1012c8a529f20807328a9357f5034f4X Refsource MISCPatchThird Party AdvisoryWEBFIX
- github.com/lxc/lxdPACKAGE