9.1critical
Incorrect computation for some invalid field elements in crypto/elliptic
- Severity
- 9.1critical CVSS:3.1 by NVD
- Exploit likelihood
- 2.93% (higher than 87% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GO-2021-0319BIT-GOLANG-2022-23806
Description
Curve.IsOnCurve in crypto/elliptic in Go before 1.16.14 and 1.17.x before 1.17.7 can incorrectly return true in situations with a big.Int value that is not a valid field element.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| stdlib (Go) | before 1.16.14, from 1.17.0-0 before 1.17.7 | Go Vulnerability Database |
| golang go | before 1.16.14, from 1.17.0 before 1.17.7 | NVD |
| netapp beegfs_csi_driver | Not specified | NVD |
| netapp cloud_insights_telegraf_agent | Not specified | NVD |
| netapp kubernetes_monitoring_operator | Not specified | NVD |
| netapp storagegrid | Not specified | NVD |
| debian debian_linux | 9.0 | NVD |
| golang (Bitnami) | before 1.16.14, from 1.17.0 before 1.17.7 | Bitnami Vulnerability Database |
All scores
| NVD | 9.1critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H |
| NVD | 6.4medium CVSS:2.0 | AV:N/AC:L/Au:N/C:N/I:P/A:P |
| Bitnami Vulnerability Database | critical rating |
Classification
What each source says
CVE List
Curve.IsOnCurve in crypto/elliptic in Go before 1.16.14 and 1.17.x before 1.17.7 can incorrectly return true in situations with a big.Int value that is not a valid field element.
Go Vulnerability Database
Some big.Int values that are not valid field elements (negative or overflowing) might cause Curve.IsOnCurve to incorrectly return true. Operating on those values may cause a panic or an invalid curve operation. Note that Unmarshal will never return such values.
NVD (es)
Curve.IsOnCurve en crypto/elliptic en Go versiones anteriores a 1.16.14 y versiones 1.17.x anteriores a 1.17.7, puede devolver incorrectamente true en situaciones con un valor big.Int que no es un elemento de campo válido
References
| https://lists.debian.org/debian-lts-announce/2022/04/msg00017.html | advisory, mailing-list, third-party-advisory | |
| https://lists.debian.org/debian-lts-announce/2022/04/msg00018.html | advisory, mailing-list, third-party-advisory | |
| https://www.oracle.com/security-alerts/cpujul2022.html | advisory, third-party-advisory | |
| https://groups.google.com/g/golang-announce/c/SUsQn0aSgPQ | advisory, release-notes, vendor-advisory, web | |
| https://security.netapp.com/advisory/ntap-20220225-0006/ | advisory, third-party-advisory | |
| https://security.gentoo.org/glsa/202208-02 | advisory, third-party-advisory, vendor-advisory | |
| https://lists.debian.org/debian-lts-announce/2023/04/msg00021.html | mailing-list, web | |
| https://go.dev/cl/382455 | fix | |
| https://go.googlesource.com/go/+/7f9494c277a471f6f47f4af3036285c0b1419816 | fix | |
| https://go.dev/issue/50974 | report | |
| https://nvd.nist.gov/vuln/detail/CVE-2022-23806 | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-23806 changed 2024-08-03 | CVE Terms of Use |
| Go Vulnerability Database | GO-2021-0319 changed 2024-05-20 | CC-BY-4.0 |
| NVD | CVE-2022-23806 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-GOLANG-2022-23806 changed 2026-09-08 | Apache-2.0 |