ADVISORIES

Vulnerability

CVE-2025-6224

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.

4 advisories report this vulnerability, across 3 ecosystems.

Medium severity All Go 2Ubuntu 1openSUSE 1

Advisories

  • GHSA-h34r-jxqm-qgpr

    juju/utils leaks private key in certs

    Moderate CVE-2025-6224 Go Updated 28 July 2025
  • GO-2025-3798

    Leaks private key in certs in github.com/juju/utils

    CVE-2025-6224 Go Updated 3 March 2026
  • UBUNTU-CVE-2025-6224

    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…

    CVE-2025-6224 Ubuntu Updated 20 January 2026
  • openSUSE-SU-2025:15405-1

    govulncheck-vulndb-0.0.20250730T213748-1.1 on GA media

    CVE-2024-44905CVE-2024-44906CVE-2024-56731CVE-2025-0928 openSUSE Updated 23 March 2026

References