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.
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
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

No history.

Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: canonical

Published:

Updated: 2024-09-17T01:10:47.579Z

Reserved: 2015-01-22T00:00:00

Link: CVE-2015-1340

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2019-04-22T16:29:00.897

Modified: 2024-11-21T02:25:12.383

Link: CVE-2015-1340

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses