Back
CVE-2015-1340
chmod race in doUidshiftIntoContainer
High7.0EPSS 0.90%
- Published
- Updated
- Reserved
- Assigned by
- canonical
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| canonicalCNA (assigner) | 3.0 | High7.0 | CVSS:3.0/AV:P/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H |
| NVDNVD · Modified | 3.0 | High8.1 | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 0.90% · top 40% of all CVEs (4 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.0.
Weakness
- Race condition.
- CWE-362 (opens in a new tab)All about CWE-362 and its CVEs
Affected products
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Gogithub.com/lxc/lxdGHSA-8mpq-fmr3-6jxv (opens in a new tab)
References (1)
- https://github.com/lxc/lxd/commit/19c6961cc1012c8a529f20807328a9357f5034f4 (opens in a new tab)x_refsource_MISCx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-8mpq-fmr3-6jxv (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2015-1340)Record last updated .