Security readout for executives and security teams
Plain-English summary
This flaw lets a local user race LXD while it changes file permissions during container handling. If successful, the user could make an arbitrary system file use permissions they choose, potentially compromising confidentiality, integrity, and availability.
Executive priority
Prioritize remediation on shared Linux infrastructure, build systems, and hosts where lower-privileged users can access LXD. The issue is high impact but requires local access and a race, so urgency depends on user trust boundaries.
Technical view
LXD before 0.19-0ubuntu5 has a time-of-check/time-of-use race in doUidshiftIntoContainer(). A symlink created between Filepath.Walk() stat handling and an unsafe Chmod() call could redirect chmod to another system file. CVSS 3.0 is 7.0 with local access, low privileges, high complexity, and high CIA impact.
Likely exposure
Exposure is limited to Ubuntu systems running vulnerable LXD versions before 0.19-0ubuntu5. The source bundle does not identify other vendors, exact package ranges beyond that version boundary, or internet-reachable attack paths.
Exploitation context
The CVE is not listed as KEV in the supplied data, and the bundle provides no evidence of active exploitation. Exploitation requires local low-privileged access and winning a race condition, which raises difficulty but does not remove business risk on shared or multi-user hosts.
Researcher notes
Evidence points to an unsafe chmod race in doUidshiftIntoContainer(). The supplied sources do not include exploit reports, broader affected product lists, CWE mapping, or detailed advisory text, so conclusions should stay bounded to Ubuntu LXD before 0.19-0ubuntu5.
Mitigation direction
- Upgrade Ubuntu LXD to 0.19-0ubuntu5 or a vendor-confirmed later fixed build.
- Use supported vendor packages or maintenance branches for the referenced LXD fix.
- Restrict local shell and LXD management access on vulnerable hosts until remediated.
- Review Ubuntu package changelogs for distribution-specific backports and fixed build identifiers.
Validation and detection
- Inventory Ubuntu hosts running LXD and record installed package versions.
- Flag any LXD build earlier than 0.19-0ubuntu5 for remediation.
- Confirm the deployed package includes the referenced LXD commit or vendor backport.
- Check whether vulnerable hosts allow untrusted local users or shared administrative access.
Public sources used
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
CVE-2015-1340 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
Open ATT&CK lookup- Severity
- High
- CVSS
- 7 (3.0)
- Known Exploited
- No
- Published
Vector: CVSS:3.0/AV:P/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
CNA and ADP enrichment extracted from CVE v5
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
CVSS vector scores
1 official scoreWe collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CVSS:3.0/AV:P/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H0.46Primary CVE scoreVulnerability scoring details
Base CVSS 3.0 score
7HighVector: CVSS:3.0/AV:P/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
Source materials
- CVE List V5 sourceCVE List V5
- https://github.com/lxc/lxd/commit/19c6961cc1012c8a529f20807328a9357f5034f4CVE reference · x_refsource_MISC
Products and packages named in the record
CWE details
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
