CVE-2023-24532
5.3medium
Incorrect calculation on P256 curves in crypto/internal/nistec
- Severity
- 5.3medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.81% (higher than 58% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Go
- Also known as
- GO-2023-1621BIT-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
| Product or package | Versions | Reported by |
|---|---|---|
| crypto/internal/nistec | before 1.19.7, from 1.20.0-0 before 1.20.2 | CVE List |
| stdlib (Go) | before 1.19.7, from 1.20.0-0 before 1.20.2 | Go Vulnerability Database |
| golang go | before 1.19.7, from 1.20.0 before 1.20.2 | NVD |
| golang (Bitnami) | before 1.19.7, from 1.20.0 before 1.20.2 | Bitnami Vulnerability Database |
All scores
| NVD | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| Bitnami Vulnerability Database | medium rating |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
References
| https://go.dev/issue/58647 | fix, issue-tracking, patch, report | |
| https://go.dev/cl/471255 | fix, patch | |
| https://groups.google.com/g/golang-announce/c/3-TpUx48iQY | discussion, mailing-list, release-notes, web | |
| https://pkg.go.dev/vuln/GO-2023-1621 | advisory, third-party-advisory | |
| https://security.netapp.com/advisory/ntap-20230331-0011/ | web | |
| https://nvd.nist.gov/vuln/detail/CVE-2023-24532 | web | |
Related
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-24532 changed 2024-08-02 | CVE Terms of Use |
| Go Vulnerability Database | GO-2023-1621 changed 2026-02-04 | CC-BY-4.0 |
| NVD | CVE-2023-24532 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-GOLANG-2023-24532 changed 2026-09-08 | Apache-2.0 |