logo

CVE-2015-1340 github.com/lxc/lxd

Package

Manager: go
Name: github.com/lxc/lxd
Vulnerable Version: >=0 <0.0.0-20151004155856-19c6961cc101

Severity

Level: High

CVSS v3.1: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

CVSS v4.0: CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

EPSS: 0.00315 pctl0.54003

Details

LXD vulnerable to Race Condition 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. ### Specific Go Packages Affected github.com/lxc/lxd/shared

Metadata

Created: 2022-05-24T16:44:07Z
Modified: 2023-09-29T15:43:23Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-8mpq-fmr3-6jxv/GHSA-8mpq-fmr3-6jxv.json
CWE IDs: ["CWE-362"]
Alternative ID: GHSA-8mpq-fmr3-6jxv
Finding: F124
Auto approve: 1