Security mailing lists by PureSourceCode

CVE-2015-1340

HIGH 8.1CVSS 3.0

LXD vulnerable to Race Condition

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.

Published
22 Apr 2019
Last modified
17 Jun 2026
Assigned by
security@ubuntu.com
NVD status
Modified
Weakness
CWE-362
Also known as
GHSA-8mpq-fmr3-6jxvGO-2021-0071
Sources
NVDJSONOSV GHSA-8mpq-fmr3-6jxvJSONOSV GO-2021-0071JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.0 HIGH 8.1 CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.0 HIGH 8.1 CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD security@ubuntu.com (Secondary) CVSS 3.0 HIGH 7.0 CVSS:3.0/AV:P/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 6.8 AV:N/AC:M/Au:N/C:P/I:P/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD linuxcontainers lxd
cpe:2.3:a:linuxcontainers:lxd:-:*:*:*:*:*:*:*
(no version)
OSV Go github.com/lxc/lxd < 0.0.0-20151004155856-19c6961cc101 0.0.0-20151004155856-19c6961cc101

References

History

  • 25 Nov 2026 20:22 UTC · NVD: first stored (published 22 Apr 2019)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 14 Apr 2021)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 24 May 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.