First published: Tue Jan 28 2025(Updated: )
Using ParsePKCS1PrivateKey to parse a RSA key that is missing the CRT values would panic when verifying that the key is well formed.
Credit: security@golang.org
Affected Software | Affected Version | How to fix |
---|---|---|
Golang Crypto |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2025-22865 is classified as a high severity vulnerability due to its potential to cause a panic when verifying RSA keys.
To fix CVE-2025-22865, ensure that RSA keys include the necessary CRT values before attempting to parse them with ParsePKCS1PrivateKey.
CVE-2025-22865 affects the Go crypto/x509 library.
Yes, CVE-2025-22865 can lead to denial of service as it may cause an application to panic.
CVE-2025-22865 is primarily a coding error related to the handling of RSA keys in the Go crypto/x509 library.