CVE-2024-6156 json
lxd CA certificate sign check bypass
published 2024-12-05 23 mo ago modified 2026-06-17 4 mo ago also GHSA-4c49-9fpc-hc3v , GO-2024-3312 , EUVD-2024-3419
- cvss
- 3.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 5%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- go github.com/canonical/lxd 0.0.0-20240708073652-5a492a3f0036
- Canonical Ltd. LXD 4.0.10, 5.0.4, 5.21.2, 6.1
- canonical lxd 5.21.2
- incus Debian 14, Debian 13 6.0.3-1
debian advisories DEBIAN-CVE-2024-6156
- govulncheck-vulndb openSUSE Tumbleweed 0.0.20241209T183251-1.1
opensuse advisories openSUSE-SU-2024:14567-1
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 23 mo ago
Exploit prediction
0.16% chance of exploitation in the next 30 days, higher than 5% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/canonical/lxd/security/advisories/GHSA-4c49-9fpc-hc3v referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 3.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N |
| GitHub | 3.1 | 3.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/canonical/lxd | <0.0.0-20240708073652-5a492a3f0036 |
0.0.0-20240708073652-5a492a3f0036 |
Affected products
- Canonical Ltd. LXD
- canonical lxd
Classification
- Weakness
-
- CWE-295 Improper Certificate Validation
References
-
github.com
/canonical/lxd/commit/92468bb60f4f1edf38ff0434414bea4f28afa711
web, patch
-
github.com
/canonical/lxd/security/advisories/GHSA-4c49-9fpc-hc3v
issue-tracking, web, exploit, vendor-advisory, advisory
-
cve.org
/CVERecord?id=CVE-2024-6156
issue-tracking, web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2024-6156
advisory
-
github.com
/canonical/lxd
package
-
pkg.go.dev
/vuln/GO-2024-3312
web
Sources
- CVE List CVE-2024-6156
- GitHub Advisory GHSA-4c49-9fpc-hc3v
- NVD CVE-2024-6156
- OSV GO-2024-3312
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.