Certificate generation in juju/utils using the cert.NewLeaf function could include private information. If this certificate were then transferred over the network in plaintext, an attacker listening on that network could sniff the certificate and trivially extract the private key from it.
History

Tue, 01 Jul 2025 15:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 01 Jul 2025 10:45:00 +0000

Type Values Removed Values Added
Description Certificate generation in juju/utils using the cert.NewLeaf function could include private information. If this certificate were then transferred over the network in plaintext, an attacker listening on that network could sniff the certificate and trivially extract the private key from it.
Title Key leakage in juju/utils certificates
Weaknesses CWE-312
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: canonical

Published: 2025-07-01T10:39:34.322Z

Updated: 2025-07-01T14:30:51.639Z

Reserved: 2025-06-18T08:48:41.677Z

Link: CVE-2025-6224

cve-icon Vulnrichment

Updated: 2025-07-01T14:30:42.574Z

cve-icon NVD

Status : Received

Published: 2025-07-01T11:15:21.770

Modified: 2025-07-01T11:15:21.770

Link: CVE-2025-6224

cve-icon Redhat

No data.