MEDIUM5.3
GO-2023-1621
Incorrect calculation on P256 curves in crypto/internal/nistec
Quick fix
GO-2023-1621 — stdlib: upgrade to the fixed version with the command below.
go get stdlib@v1.19.7Details
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.
Are you affected?
Enter the version of the package you're using.