CVE-2015-1340

chmod race in doUidshiftIntoContainer

High · published April 22, 2019

CVSS v3.0
7.0
EPSS
1%
Percentile
58.9
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.0
7.0 · HIGH
Vector
CVSS:3.0/AV:P/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00896 · 58.9th percentile
Published
2019-04-22T15:35Z
EPSS history
Timeline
  • 22 APR 15:35Z
    chmod race in doUidshiftIntoContainer
    cvelistv5