Unscored

CVE-2023-24532Incorrect calculation on P256 curves in crypto/internal/nistec

Go standard library crypto/internal/nistec Published: (3 years ago)

Description

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.

Weakness (CWE): CWE-682

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
Go standard library crypto/internal/nistec < 1.19.7, 1.20.0-0 – < 1.20.2

References and patches