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
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Canonical | Juju utils | 4.0.1 – 4.0.3 | — | No fix listed | CNA |
| — | github.com/juju/utils/v4/cert (Go) | before 4.0.4 | 4.0.4 | Patch available | GHSA-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
Remediation
- Fix · GHSA-h34r-jxqm-qgpr github.com/juju/utils/v4/cert (Go) Fixed in 4.0.4 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2025-6224
- 2026-10-03 Alias added: GHSA-h34r-jxqm-qgpr
References
Sources
- CVE-2025-6224 · CVE Program
- CVE-2025-6224 · NVD
- FIRST EPSS
- GHSA-h34r-jxqm-qgpr · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences