CVE-2015-1340

chmod race in doUidshiftIntoContainer

Published Apr 22, 2019 CVSS 3.0 · 7 High EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2022-3203 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.
Github GHSA Github GHSA GHSA-8mpq-fmr3-6jxv LXD vulnerable to Race Condition
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
canonical
Published
Updated
Sep 17, 2024, 1:10 AM
Reserved
Jan 22, 2015, 12:00 AM
Status
Modified
Published
Apr 22, 2019, 4:29 PM
Modified
Jun 17, 2026, 12:22 AM