p PatchFirst

CVE-2025-6224

CVE-2025-6224 · Key leakage in juju/utils certificates

CVSS 6.5 · Medium · EPSS 0.2%

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

Check the installed version:

dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="golang-github-juju-utils"'

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

Published
Updated

Fixes in distributions

Stack: system

Affected products and versions

  • juju utils

    Versions
    • ≥ 4.0.1, ≤ 4.0.3: Affected (semver)

    No fix published

  • golang-github-juju-utils Ubuntu 18.04 LTS

    Versions
    • 0.0~git20171220.f38c0b0-3
    • 0.0~git20171220.f38c0b0-4
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • golang-github-juju-utils Ubuntu 20.04 LTS

    Versions
    • 0.0~git20171220.f38c0b0-5
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • golang-github-juju-utils Ubuntu 22.04 LTS

    Versions
    • 0.0~git20171220.f38c0b0-6
    • 0.0~git20200923.4646bfe-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • golang-github-juju-utils Ubuntu 24.04 LTS

    Versions
    • 0.0~git20200923.4646bfe-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • golang-github-juju-utils Ubuntu 25.10

    Versions
    • 0.0~git20200923.4646bfe-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →