Improper Certificate Validation Affecting github.com/canonical/lxd package, versions <5.21.2


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-GITHUBCOMCANONICALLXD-8491034
  • published6 Dec 2024
  • disclosed6 Dec 2024
  • creditMark Laing

Introduced: 6 Dec 2024

NewCVE-2024-6156  (opens in a new tab)
CWE-295  (opens in a new tab)

How to fix?

Upgrade github.com/canonical/lxd to version 5.21.2 or higher.

Overview

github.com/canonical/lxd is an a modern, secure and powerful system container and virtual machine manager.

Affected versions of this package are vulnerable to Improper Certificate Validation due to improper validation of client certificates in PKI mode. An attacker can bypass security restrictions by presenting a valid certificate that is already trusted by the system.

Note: Version 4.0 and above are affected.

References

CVSS Scores

version 4.0
version 3.1