Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/juju/utils/v4/cert
  4. ›
  5. CVE-2025-6224

CVE-2025-6224: juju/utils leaks private key in certs

July 1, 2025

Certs generated by v4 contain their private key.

References

  • github.com/advisories/GHSA-h34r-jxqm-qgpr
  • github.com/juju/utils
  • github.com/juju/utils/commit/766f27d7bcd10433453a9764509a864c17a46a76
  • github.com/juju/utils/releases/tag/v4.0.4
  • github.com/juju/utils/security/advisories/GHSA-h34r-jxqm-qgpr
  • nvd.nist.gov/vuln/detail/CVE-2025-6224

Code Behaviors & Features

Detect and mitigate CVE-2025-6224 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 4.0.4

Fixed versions

  • 4.0.4

Solution

Upgrade to version 4.0.4 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-312: Cleartext Storage of Sensitive Information

Source file

go/github.com/juju/utils/v4/cert/CVE-2025-6224.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:50 +0000.