CVE-2015-1340

chmod race in doUidshiftIntoContainer

State
Published
Severity
7.0 High
Published
Apr 22, 2019
Updated
Sep 17, 2024
Reserved
Jan 22, 2015

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.07.0 HighCVSS:3.0/AV:P/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:Hcanonical

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LXDUbuntu
  • before 0.19-0ubuntu5Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.