8.1

CVE-2015-1340: chmod race in doUidshiftIntoContainer

Modified
AliasesGHSA-8mpq-fmr3-6jxvGO-2021-0071
Published 22-04-2019Last modified 17-09-2024

Vulnerability summary

CVE-2015-1340 is a high (CVSS 8.1) vulnerability in linuxcontainers lxd. EPSS estimates a 0.90% chance of exploitation in the next 30 days, higher than 60.8% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 7, physical access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
8.1/10
010
High · v3.0 (NVD)
EPSS score
0.90%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Timeline

  1. 22-04-2019
    PublishedVulnerability first disclosed.
  2. 17-09-2024
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

4 scores · 3 sources · 2 versions

EPSS trend

Probability

0.90%

Chance of exploitation in the next 30 days

Percentile

61%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.90% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: physical access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Github.com/lxc1 product
  • lxd< 0.0.0-20151004155856-19c6961cc101
Linuxcontainers1 product
Ubuntu1 product
  • lxd≥ unspecified, < 0.19-0ubuntu5

3 vendors · 3 products

References

6 links