# CVE-2024-6156: GO-2024-3312 - CA certificate sign check bypass in github.com/canonical/lxd

Source: https://junglewise.ai/threats/cve-2024-6156-lxd-ca-certificate-sign-check-bypass  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2024-12-09  
License: CC BY 4.0 with a link back

CVE-2024-6156 · Severity: low · CVSS 3.1 · Published 2024-12-09

CA certificate sign check bypass in github.com/canonical/lxd

Technologies: [github.com/canonical/lxd (Go)](https://junglewise.ai/threats/technologies/github-com-canonical-lxd). Vendors: [Go](https://junglewise.ai/threats/vendors/go).

## Quick answers

**Is CVE-2024-6156 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2024-6156 being exploited in the wild.

**How severe is CVE-2024-6156?** Low severity, with a CVSS score of 3.1, published 9 December 2024.

**Which products and versions are affected?** github.com/canonical/lxd (Go) SEMVER:introduced=0,fixed=0.0.0-20240708073652-5a492a3f0036.

**Is there a fix for CVE-2024-6156?** Yes. github.com/canonical/lxd (Go): upgrade to 0.0.0-20240708073652-5a492a3f0036 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2024-6156?** Check whether you run github.com/canonical/lxd (Go) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- github.com/canonical/lxd (Go): upgrade to 0.0.0-20240708073652-5a492a3f0036 or later

  ```sh
  go get github.com/canonical/lxd@v0.0.0-20240708073652-5a492a3f0036
  ```


## Affected products

- github.com/canonical/lxd (Go) SEMVER:introduced=0,fixed=0.0.0-20240708073652-5a492a3f0036

## Identifiers

- CVE-2024-6156
- GHSA-4c49-9fpc-hc3v
- GO-2024-3312

## Related threats

- [LXD restricted project bypass leading to arbitrary command execution](https://junglewise.ai/threats/lxd-has-restricted-project-bypass-leading-to-arbitrary-command-9034cd45)
- [LXD project restriction bypass in custom volume copy](https://junglewise.ai/threats/lxd-has-project-restriction-bypass-for-custom-volume-copy-across-d414fa7a)
- [LXD project restriction bypass in instance copy](https://junglewise.ai/threats/lxd-has-project-restriction-bypass-in-instance-copy-across-projects-48d466e0)
- [Incus arbitrary file write via trusted image hash](https://junglewise.ai/threats/lxd-has-arbitrary-file-write-on-client-due-to-trusted-image-hash-072dacee)
- [LXD argument injection in backup compression algorithm](https://junglewise.ai/threats/lxd-has-argument-injection-in-backup-compression-algorithm-leading-to-50a60f2a)
