
A Go bug put the private key inside the certificate, in clear text (CVE-2025-6224). The culprit: h.Sum(key) doesn't hash key. It appends the hash of nothing to key. https://pentesterlab.com/training/on-demand/web-security-code-review?utm_source=twitter&utm_medium=social&utm_campaign=wscr-launch&utm_content=x-ptl-1112 https://t.co/sDJQ7Vwivn
Post summary
The text discloses a Go bug (CVE-2025-6224) where a private key was exposed inside a certificate in clear text, explaining the root cause as incorrect h.Sum(key) behavior. No PoC, exploit tool, patch, or active exploitation is referenced, making this primarily a vulnerability disclosure.
