CVE-2025-6224 Key leakage in juju/utils certificates
MediumCVSS 6.5
EPSS 0.16%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
- Technology
- Ubuntu
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.
Upgrade path
6 packages: 3 fixed, 1 partially fixed, 2 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/golang-github-juju-utils(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/golang-github-juju-utils(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| juju github.com/juju/utils(Go) | < 4.0.4; All versions | 4.0.4 | Partially fixed |
| Canonical Juju utils | >= 4.0.1, <= 4.0.3 | after 4.0.3 | Fixed |
| Canonical jujuutils | >= 4.0.0, < 4.0.4 | 4.0.4 | Fixed |
| juju github.com/juju/utils/v4/cert(Go) | < 4.0.4; <= 4.0.3 | 4.0.4 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| juju github.com/juju/utils/v4/cert(Go) | < 4.0.4 | 4.0.4 |
| juju github.com/juju/utils(Go) | All versions | No fix listed |
| juju github.com/juju/utils(Go) | < 4.0.4 | 4.0.4 |
| juju github.com/juju/utils/v4/cert(Go) | <= 4.0.3 | No fix listed |
| Canonical Juju utils | >= 4.0.1, <= 4.0.3 | No fix listed |
| ubuntu/golang-github-juju-utils(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/golang-github-juju-utils(Ubuntu:24.04) | All versions | No fix listed |
| Canonical jujuutils | >= 4.0.0, < 4.0.4 | 4.0.4 |
References
- github.com exploit vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- github.com product
- github.com
- github.com
- Ubuntu CVE tracker vendor-advisory
- www.cve.org