{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-6224","id":"CVE-2025-6224","title":"Key leakage in juju/utils certificates","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.","descriptionLong":"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":"2025-07-01T10:39:34.322Z","updated":"2026-10-28T02:31:02.965473529Z","reserved":"2025-06-18T08:48:41.677Z","status":"Analyzed","rejected":false,"assigner":"canonical","metric":{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","rating":"medium","source":"canonical"},"metrics":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","rating":"medium","source":"canonical"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","rating":"medium","source":"ubuntu.com"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","rating":"medium","source":"NVD"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","rating":"medium","source":"GitHub"}],"rating":"medium","products":["Canonical Juju utils"],"affectedProducts":[{"vendor":"Canonical","product":"Juju utils","defaultStatus":"unaffected","versions":[{"lessThanOrEqual":"4.0.3","status":"affected","version":"4.0.1","versionType":"semver"}],"platforms":["Linux"]}],"packages":[{"ecosystem":"Go","name":"github.com/juju/utils/v4/cert","purl":"pkg:golang/github.com/juju/utils/v4/cert","ranges":["<4.0.4"],"fixed":["4.0.4"],"advisory":"GHSA-h34r-jxqm-qgpr"},{"ecosystem":"Go","name":"github.com/juju/utils","purl":"pkg:golang/github.com/juju/utils","ranges":["all versions"],"fixed":[],"advisory":"GO-2025-3798"},{"ecosystem":"Go","name":"github.com/juju/utils/v2","purl":"pkg:golang/github.com/juju/utils/v2","ranges":["all versions"],"fixed":[],"advisory":"GO-2025-3798"},{"ecosystem":"Go","name":"github.com/juju/utils/v3","purl":"pkg:golang/github.com/juju/utils/v3","ranges":["all versions"],"fixed":[],"advisory":"GO-2025-3798"},{"ecosystem":"Go","name":"github.com/juju/utils/v4","purl":"pkg:golang/github.com/juju/utils/v4","ranges":["<4.0.4"],"fixed":["4.0.4"],"advisory":"GO-2025-3798"}],"cwes":["CWE-312"],"aliases":["GHSA-h34r-jxqm-qgpr","GO-2025-3798"],"references":[{"url":"https://github.com/juju/utils/security/advisories/GHSA-h34r-jxqm-qgpr","tags":["Exploit","Vendor Advisory","advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/6xxx/CVE-2025-6224.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-6224","tags":["advisory"]},{"url":"https://github.com/juju/utils","tags":["package"]},{"url":"https://github.com/juju/utils/commit/766f27d7bcd10433453a9764509a864c17a46a76","tags":["web","fix"]},{"url":"https://github.com/juju/utils/releases/tag/v4.0.4","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial"},"epss":0.00158,"epssPercentile":0.05033,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-6224","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-6224","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-6224","ok":true,"note":"5 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-h34r-jxqm-qgpr","ok":true,"note":"GHSA-h34r-jxqm-qgpr"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-6224","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}