CVE-2015-1340: linuxcontainers lxd Race Condition
CVSS: 8.1v3.0HighModified
AliasesGHSA-8mpq-fmr3-6jxvGO-2021-0071
Published 22-04-2019Last modified 17-09-2024
Vulnerability summary
CVE-2015-1340 is a high (CVSS 8.1) Race Condition vulnerability in linuxcontainers lxd. EPSS estimates a 0.90% chance of exploitation in the next 30 days, higher than 58.8% of scored vulnerabilities.
CVSS score
8.1/10
010
High · v3.0 (NVD)EPSS score
0.90%
0%100%
Low · 0.00 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded
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 versionsHigh 8.1Preferred score · NVD (NIST)
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:HSources3 sources · 7.0–8.1
- 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
Medium 6.8Preferred score · NVD (NIST)
AV:N/AC:M/Au:N/C:P/I:P/A:PSourcesSingle source
EPSS trend
Probability
0.90%
Chance of exploitation in the next 30 days
Percentile
59%
Versus all other CVEs
30-day change
0.00 pp
From 0.90% on 18-09-2026
18-09-202618-10-2026
EPSS score0.90%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
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