CVE-2024-6156Canonical Lxd
Low 3.8
Follow: this CVE · Canonical · Canonical Lxd We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Lxd.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| canonical | lxd | ≥ 4.0.0 < 4.0.10 |
| canonical | lxd | ≥ 5.0.0 < 5.0.4 |
| canonical | lxd | ≥ 5.1 < 5.21.2 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Exploit Vendor Advisory
- www.cve.org Third Party Advisory