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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Canonical | Juju utils | 4.0.1 – ≤ 4.0.3 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 25.10 | golang-github-juju-utils | No fix yet | — |
| Ubuntu 24.04 LTS | golang-github-juju-utils | No fix yet | — |
| Ubuntu 22.04 LTS | golang-github-juju-utils | No fix yet | — |
| Ubuntu 20.04 LTS | golang-github-juju-utils | No fix yet | — |
| Ubuntu 18.04 LTS | golang-github-juju-utils | No fix yet | — |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | govulncheck-vulndb | 0.0.20250730T213748-1.1 | openSUSE-SU-2025:15405-1 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Go | github.com/juju/utils | all versions | — | GO-2025-3798 |
| Go | github.com/juju/utils/v2 | all versions | — | GO-2025-3798 |
| Go | github.com/juju/utils/v3 | all versions | — | GO-2025-3798 |
| Go | github.com/juju/utils/v4 | < 4.0.4 | 4.0.4 | GO-2025-3798 |
| Go | github.com/juju/utils/v4/cert | < 4.0.4 | 4.0.4 | GHSA-h34r-jxqm-qgpr |
Advisories 1
- openSUSE-SU-2025:15405-1 govulncheck-vulndb-0.0.20250730T213748-1.1 on GA media SUSE / openSUSE Security Updates · Mar 23, 2026