Read the docs
TI-2025-05630 Aliases CVE-2025-6224GHSA-h34r-jxqm-qgpr

Key leakage in juju/utils certificates

Priority MEDIUM 62CWE-312Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Required
Attack complexity
Low
Impact type
Information disclosure
Confidentiality · integrity · availability
High · None · None
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-312.

Summary

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00158 4th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed github.com/juju/utils/v4/cert (Go): 4.0.4

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
CanonicalJuju utils4.0.1 – 4.0.3—No fix listedCNA
—github.com/juju/utils/v4/cert (Go)before 4.0.44.0.4Patch availableGHSA-h34r-jxqm-qgpr
  • Juju utils VendorCanonical Affected 4.0.1 – 4.0.3 Fixed in — No fix listed CNA
  • github.com/juju/utils/v4/cert (Go) Vendor— Affected before 4.0.4 Fixed in 4.0.4 Patch available GHSA-h34r-jxqm-qgpr

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:canonical:juju\/utils:*:*:*:*:*:go:*:*4.0.0 to before 4.0.4VulnerableCanonical
  • cpe:2.3:a:canonical:juju\/utils:*:*:*:*:*:go:*:* Versions 4.0.0 to before 4.0.4 Vulnerable ·Canonical

Remediation

  • Fix · GHSA-h34r-jxqm-qgpr github.com/juju/utils/v4/cert (Go) Fixed in 4.0.4 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2025-6224
  2. 2026-10-03 Alias added: GHSA-h34r-jxqm-qgpr

References

Sources