CVE-2024-6219 json
lxd has a restricted TLS certificate privilege escalation when in PKI mode
published 2024-12-05 23 mo ago modified 2026-06-26 4 mo ago also GHSA-jpmc-7p9c-4rxf , GO-2024-3313 , EUVD-2024-3485
- 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 4%
- public exploits
- 0
- none known
Summary
Mark Laing discovered in LXD's PKI mode, until version 5.21.1, that a restricted certificate could be added to the trust store with its restrictions not honoured.
Patch / fix
- go github.com/canonical/lxd 0.0.0-20240403103450-0e7f2b5bf4d2
- Canonical Ltd. LXD 5.21.1
- govulncheck-vulndb openSUSE Tumbleweed 0.0.20241209T183251-1.1
opensuse advisories openSUSE-SU-2024:14567-1
- github.com/canonical/lxd@5cdc9a3 commit
- github.com/canonical/lxd#12313 pull request
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 4% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/canonical/lxd/security/advisories/GHSA-jpmc-7p9c-4rxf 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-20240403103450-0e7f2b5bf4d2 |
0.0.0-20240403103450-0e7f2b5bf4d2 |
Affected products
- Canonical Ltd. LXD
Classification
References
-
github.com
/canonical/lxd/pull/12313
web
-
github.com
/canonical/lxd/commit/5cdc9a35b9c51e981b1e70330bde0413ccacc7fd
web, patch
-
github.com
/canonical/lxd/security/advisories/GHSA-jpmc-7p9c-4rxf
issue-tracking, web, exploit, vendor-advisory, advisory
-
cve.org
/CVERecord?id=CVE-2024-6219
issue-tracking, web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2024-6219
advisory
-
github.com
/canonical/lxd
package
-
pkg.go.dev
/vuln/GO-2024-3313
web
Sources
- CVE List CVE-2024-6219
- GitHub Advisory GHSA-jpmc-7p9c-4rxf
- NVD CVE-2024-6219
- OSV GO-2024-3313
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.