6.5

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

Analyzed
AliasesUBUNTU-CVE-2025-6224GHSA-h34r-jxqm-qgprGO-2025-3798
Published 01-07-2025Last modified 01-07-2025

Vulnerability summary

CVE-2025-6224 is a medium (CVSS 6.5) vulnerability in canonical juju utils. EPSS estimates a 0.17% chance of exploitation in the next 30 days, higher than 5.8% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Routine

Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
6.5/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.17%
0%100%
Low · +0.01 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1github

Advisory lineage

Upstream 0 · Downstream 1 · Related 1

Timeline

  1. 01-07-2025
    PublishedVulnerability first disclosed.
  2. 01-07-2025
    Last modifiedVulnerability information updated.

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.

CVSS metrics

4 scores · 4 sources · 1 version

EPSS trend

Probability

0.17%

Chance of exploitation in the next 30 days

Percentile

6%

Versus all other CVEs

30-day change

Increase +0.01 pp

From 0.16% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • githubUnverified

    Utils

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.

Github.com/juju/utils3 products
  • v2All versions (No fix recorded)
  • v3All versions (No fix recorded)
  • v4< 4.0.4
Canonical2 products
Github.com/juju1 product
  • utilsAll versions (No fix recorded)
Github.com/juju/utils/v41 product
  • cert< 4.0.4
Ubuntu1 product
  • golang-github-juju-utilsAll versions (No fix recorded)

5 vendors · 8 products

References

7 links