Vulnerability Details : CVE-2015-1340
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.
Products affected by CVE-2015-1340
- cpe:2.3:a:linuxcontainers:lxd:-:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2015-1340
0.22%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 61 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2015-1340
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
6.8
|
MEDIUM | AV:N/AC:M/Au:N/C:P/I:P/A:P |
8.6
|
6.4
|
NIST | |
8.1
|
HIGH | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
2.2
|
5.9
|
NIST | |
7.0
|
HIGH | CVSS:3.0/AV:P/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H |
0.4
|
6.0
|
Canonical Ltd. |
CWE ids for CVE-2015-1340
-
The product contains a code sequence that can run concurrently with other code, and the code sequence requires temporary, exclusive access to a shared resource, but a timing window exists in which the shared resource can be modified by another code sequence that is operating concurrently.Assigned by: nvd@nist.gov (Primary)
References for CVE-2015-1340
-
https://github.com/lxc/lxd/commit/19c6961cc1012c8a529f20807328a9357f5034f4
CVE-2015-1340: Fix race condition between fchown and chmod in idmapset · lxc/lxd@19c6961 · GitHubPatch;Third Party Advisory
Jump to