GO-2023-1621
Incorrect calculation on P256 curves in crypto/internal/nistec
At a glance
- Published
- Updated
- CVE
- CVE-2023-24532
- Aliases
- BIT-golang-2023-24532
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.
Affected packages
| Package | Versions |
|---|---|
| Go · stdlib | introduced 0, fixed 1.19.7, introduced 1.20.0-0, fixed 1.20.2 |
References
- https://go.dev/issue/58647 REPORT
- https://go.dev/cl/471255 FIX
- https://groups.google.com/g/golang-announce/c/3-TpUx48iQY WEB
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — Go Vulnerability Database |