Live threats

All CVEs / Canonical

CVE-2024-6156Canonical Lxd

Low 3.8

Priority
23
CVSS 3.1
3.8
EPSS
0.2%
probability of exploitation in 30 days · percentile 3
Auth required
Yes
Published
Dec 6, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-295
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N

What happens

Mark Laing discovered that LXD's PKI mode, until version 5.21.2, could be bypassed if the client's certificate was present in the trust store.

Original NVD text.

What to do

  1. Apply the vendor's security update for Lxd.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/canonical/lxd < 0.0.0-20240708073652-5a492a3f0036 0.0.0-20240708073652-5a492a3f0036 go get github.com/canonical/lxd@v0.0.0-20240708073652-5a492a3f0036
Go github.com/canonical/lxd < 0.0.0-20240708073652-5a492a3f0036 0.0.0-20240708073652-5a492a3f0036 go get github.com/canonical/lxd@v0.0.0-20240708073652-5a492a3f0036

Per OSV / GitHub Advisories (GHSA-4c49-9fpc-hc3v, GO-2024-3312). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
canonicallxd≥ 4.0.0 < 4.0.10
canonicallxd≥ 5.0.0 < 5.0.4
canonicallxd≥ 5.1 < 5.21.2

Official sources

References

Links published by the sources. Open them with care.