CVE-2025-6224: Key leakage in juju/utils certificates
Vulnerability summary
CVE-2025-6224 is a medium (CVSS 6.5) vulnerability in canonical juju utils. EPSS estimates a 0.17% chance of exploitation in the next 30 days, higher than 5.8% of scored vulnerabilities. 1 public exploit is recorded.
Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 1 · Related 1Timeline
- 01-07-2025PublishedVulnerability first disclosed.
- 01-07-2025Last modifiedVulnerability information updated.
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.
CVSS metrics
4 scores · 4 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
- OSV · GoEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
- NVDNIST6.5MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
EPSS trend
Probability
0.17%
Chance of exploitation in the next 30 days
Percentile
6%
Versus all other CVEs
30-day change
Increase +0.01 pp
From 0.16% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundUtils
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Github.com/juju/utils3 products
- v2All versions (No fix recorded)
- v3All versions (No fix recorded)
- v4< 4.0.4
Canonical2 products
- juju utils≥ 4.0.1, ≤ 4.0.3
- juju\/utils≥ 4.0.0, < 4.0.4
Github.com/juju1 product
- utilsAll versions (No fix recorded)
Github.com/juju/utils/v41 product
- cert< 4.0.4
Ubuntu1 product
- golang-github-juju-utilsAll versions (No fix recorded)
5 vendors · 8 products
References
7 links- github.com/juju/utilsPACKAGE