GO-2023-1621
Dashboard / Vulnerabilities / GO-2023-1621
GO-2023-1621
Published: 8 Mar 2023Last Modified: 4 Feb 2026
Summary: Incorrect calculation on P256 curves in crypto/internal/nistec
Details: 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.
References: https://go.dev/issue/58647, https://go.dev/cl/471255, https://groups.google.com/g/golang-announce/c/3-TpUx48iQY
Affected packages
Package
Name: stdlib
Purl: pkg:golang/stdlib
Affected ranges
Type: SEMVER
Events:
Introduced- 0
Fixed -1.19.7
Affected versions
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
