CVE Catalog

CVE-2023-24532

MediumCVSS 5.3
Published: Updated: Translated: NVD NIST

Summary

The ScalarMult and ScalarBaseMult methods of the P256 Curve may return an incorrect result if called with some specific unreduced scalars (a scalar larger than the order of the curve). This does not impact usages of crypto/ecdsa or crypto/ecdh.

Risk Assessment

May lead to incorrect cryptographic computations in applications directly using these methods, potentially weakening security. Use of standard crypto/ecdsa and crypto/ecdh packages is not affected.

Recommendation

Update the Go library to a version containing the fix for this issue. If the application directly calls ScalarMult or ScalarBaseMult, validate input correctness and consider migrating to crypto/ecdsa or crypto/ecdh.

Related vulnerabilities

Original NVD description (English source)

The ScalarMult and ScalarBaseMult methods of the P256 Curve may return an incorrect result if called with some specific unreduced scalars (a scalar larger than the order of the curve). This does not impact usages of crypto/ecdsa or crypto/ecdh.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS