Live threats

All CVEs / Linuxcontainers

CVE-2015-1340Linuxcontainers Lxd

High 8.1 No auth needed

Priority
64
CVSS 3.0
8.1
EPSS
0.9%
probability of exploitation in 30 days · percentile 58
Auth required
No
Published
Apr 22, 2019
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-362
Vector
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Lxd.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/lxc/lxd < 0.0.0-20151004155856-19c6961cc101 0.0.0-20151004155856-19c6961cc101 go get github.com/lxc/lxd@v0.0.0-20151004155856-19c6961cc101
Go github.com/lxc/lxd < 0.0.0-20151004155856-19c6961cc101 0.0.0-20151004155856-19c6961cc101 go get github.com/lxc/lxd@v0.0.0-20151004155856-19c6961cc101

Per OSV / GitHub Advisories (GHSA-8mpq-fmr3-6jxv, GO-2021-0071). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
linuxcontainerslxdall

Official sources

References

Links published by the sources. Open them with care.