Skip to content
OpenAdvisories
Medium · 6.5 CVE-2025-6224 EUVD-2025-19609GHSA-h34r-jxqm-qgprGO-2025-3798

Key leakage in juju/utils certificates

Published Jul 1, 2025 · Updated Jul 1, 2025 · Assigned by canonical

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

VendorProductAffectedFixed
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.

ReleasePackageFixed inAdvisory
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 —
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed govulncheck-vulndb 0.0.20250730T213748-1.1 openSUSE-SU-2025:15405-1

Affected packages

EcosystemPackageAffectedFixedRecord
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

References