Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: GSA_kwCzR0hTQS04bXBxLWZtcjMtNmp4ds4AAgfq

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

Permalink: https://github.com/advisories/GHSA-8mpq-fmr3-6jxv
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS04bXBxLWZtcjMtNmp4ds4AAgfq
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: almost 2 years ago
Updated: 7 months ago


CVSS Score: 8.1
CVSS vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Identifiers: GHSA-8mpq-fmr3-6jxv, CVE-2015-1340
References: Repository: https://github.com/lxc/lxd
Blast Radius: 17.8

Affected Packages

go:github.com/lxc/lxd
Dependent packages: 126
Dependent repositories: 156
Downloads:
Affected Version Ranges: < 0.0.0-20151004155856-19c6961cc101
Fixed in: 0.0.0-20151004155856-19c6961cc101
All affected versions: 0.0.0-20151002181956-218d45134d54, 0.0.0-20151004071337-96e120e828e4
All unaffected versions: 0.1.0, 0.2.0, 0.3.0, 0.4.0, 0.5.0, 0.5.1, 0.6.0, 0.7.0