CVE-2025-6224

Source
https://cve.org/CVERecord?id=CVE-2025-6224
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-6224.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-6224
Aliases
Downstream
Related
Published
2025-07-01T10:39:34.322Z
Modified
2026-07-15T01:49:18.134414309Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N CVSS Calculator
Summary
Key leakage in juju/utils certificates
Details

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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/6xxx/CVE-2025-6224.json",
    "cna_assigner": "canonical",
    "cwe_ids": [
        "CWE-312"
    ]
}
References

Affected packages

Git / github.com/juju/utils

Affected ranges

Type
GIT
Repo
https://github.com/juju/utils
Events
Database specific
{
    "cpe": "cpe:2.3:a:canonical:juju\\/utils:*:*:*:*:*:go:*:*",
    "source": [
        "AFFECTED_FIELD",
        "CPE_RANGE"
    ],
    "extracted_events": [
        {
            "introduced": "4.0.1"
        },
        {
            "last_affected": "4.0.3"
        },
        {
            "introduced": "4.0.0"
        },
        {
            "fixed": "4.0.4"
        }
    ]
}

Affected versions

v4.*
v4.0.1
v4.0.2
v4.0.3

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-6224.json"