CVE-2025-6224

Key leakage in juju/utils certificates

Published Jul 1, 2025 CVSS 3.1 · 6.5 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2025-19609 juju/utils leaks private key in certs
Github GHSA Github GHSA GHSA-h34r-jxqm-qgpr juju/utils leaks private key in certs
History
Type Values Removed Values Added
First Time appeared Canonical
Canonical juju\/utils
CPEs cpe:2.3:a:canonical:juju\/utils:*:*:*:*:*:go:*:*
Vendors & Products Canonical
Canonical juju\/utils
Type Values Removed Values Added
Metrics ssvc

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

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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
canonical
Published
Updated
Jul 1, 2025, 2:30 PM
Reserved
Jun 18, 2025, 8:48 AM
Status
Analyzed
Published
Jul 1, 2025, 11:15 AM
Modified
Jun 17, 2026, 10:01 AM