Read the docs
TI-2015-01219 Aliases CVE-2015-1340GHSA-8mpq-fmr3-6jxv

chmod race in doUidshiftIntoContainer

Priority LOW 37CWE-362Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
High
Impact type
—
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.0 · NVD. Fix status from CNA and GitHub.

Summary

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.

Why it matters now

EPSS 0.00896 59th percentileScored 2026-11-07
Fix Fixed LXD (Ubuntu): 0.19-0ubuntu5github.com/lxc/lxd (Go): 0.0.0-20151004155856-19c6961cc101

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
UbuntuLXDbefore 0.19-0ubuntu50.19-0ubuntu5Patch availableCNA
—github.com/lxc/lxd (Go)before 0.0.0-20151004155856-19c6961cc1010.0.0-20151004155856-19c6961cc101Patch availableGHSA-8mpq-fmr3-6jxv
  • LXD VendorUbuntu Affected before 0.19-0ubuntu5 Fixed in 0.19-0ubuntu5 Patch available CNA
  • github.com/lxc/lxd (Go) Vendor— Affected before 0.0.0-20151004155856-19c6961cc101 Fixed in 0.0.0-20151004155856-19c6961cc101 Patch available GHSA-8mpq-fmr3-6jxv

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:linuxcontainers:lxd:-:*:*:*:*:*:*:*not specified by NVDVulnerablelxc
  • cpe:2.3:a:linuxcontainers:lxd:-:*:*:*:*:*:*:* Versions not specified by NVD Vulnerable ·lxc

Remediation

  • Fix · CNA LXD (Ubuntu) Fixed in 0.19-0ubuntu5
  • Fix · GHSA-8mpq-fmr3-6jxv github.com/lxc/lxd (Go) Fixed in 0.0.0-20151004155856-19c6961cc101 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2015-1340
  2. 2026-10-03 Alias added: GHSA-8mpq-fmr3-6jxv

References

  • TI-2021-02452 Incorrect authorization in Ubuntu linux kernel KEVCVSS 3.1HIGH 8.8
  • TI-2007-05153 Stack-based buffer overflow in the cons_options function in options.c in dhcpd in OpenBSD… CVSS 2.0HIGH 7.2
  • TI-2004-01032 Multiple vulnerabilities in the IGMP functionality for Linux kernel 2.4.22 to 2.4.28, and… CVSS 2.0HIGH 10.0
  • TI-2004-00896 Multiple buffer overflows in libXML 2.6.12 and 2.6.13 (libxml2), and possibly other… CVSS 2.0HIGH 10.0
  • TI-2004-00800 Buffer overflow in the QFILEPATHINFO request handler in Samba 3.0.x through 3.0.7 may… CVSS 2.0HIGH 10.0
  • TI-2004-00962 Buffer overflow in the exif_read_data function in PHP before 4.3.10 and PHP 5.x up to… CVSS 2.0HIGH 10.0
See all 129 →

Sources