cve.bz

CVE-2024-6156 canonical lxd: Improper Certificate Validation

3.8 lowExploit referenceEPSS 0.2%Fix available

Low (3.8) in canonical lxd. EPSS 0.2% estimated probability of exploitation activity in the next 30 days. Fixed in github.com/canonical/lxd 0.0.0-20240708073652-5a492a3f0036.

On this page
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.

Severity

CVSS 3.1

3.8 low
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N
EPSS
0.2% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 5th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: partial, assessed 2024-12-06. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-295 Improper Certificate Validation
OWASP Top 10
A07:2025 Authentication Failures
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-6156 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-6156?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-6156?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-6156 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Canonical Ltd. LXDfrom 4.0 before 4.0.10
Canonical Ltd. LXDfrom 4.0 before 5.0.4
Canonical Ltd. LXDfrom 4.0 before 5.21.2
Canonical Ltd. LXDfrom 4.0 before 6.1

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-4c49-9fpc-hc3vGogithub.com/canonical/lxd<0.0.0-20240708073652-5a492a3f00360.0.0-20240708073652-5a492a3f0036
GO-2024-3312Gogithub.com/canonical/lxd<0.0.0-20240708073652-5a492a3f00360.0.0-20240708073652-5a492a3f0036

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13lxdno fix listedDEBIAN-CVE-2024-6156
Debian13, 14incus6.0.3-1DEBIAN-CVE-2024-6156
Ubuntu20.04:LTS, Pro:16.04:LTS, Pro:18.04:LTSlxdno fix listedUBUNTU-CVE-2024-6156
openSUSETumbleweedgovulncheck-vulndb0.0.20241209T183251-1.1openSUSE-SU-2024:14567-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · openSUSE.

Attack patterns (CAPEC)

  • CAPEC-459 Creating a Rogue Certification Authority Certificate Likelihood: Medium · Severity: Very High
  • CAPEC-475 Signature Spoofing by Improper Validation Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON