CVE-2022-23806
JSON

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 packageVersionsReported by
Unspecified productn/aCVE List
stdlib (Go)before 1.16.14, from 1.17.0-0 before 1.17.7Go Vulnerability Database
golang gobefore 1.16.14, from 1.17.0 before 1.17.7NVD
netapp beegfs_csi_driverNot specifiedNVD
netapp cloud_insights_telegraf_agentNot specifiedNVD
netapp kubernetes_monitoring_operatorNot specifiedNVD
netapp storagegridNot specifiedNVD
debian debian_linux9.0NVD
golang (Bitnami)before 1.16.14, from 1.17.0 before 1.17.7Bitnami Vulnerability Database

All scores

NVD9.1critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
NVD6.4medium CVSS:2.0AV:N/AC:L/Au:N/C:N/I:P/A:P
Bitnami Vulnerability Databasecritical 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.htmladvisory, mailing-list, third-party-advisory
https://lists.debian.org/debian-lts-announce/2022/04/msg00018.htmladvisory, mailing-list, third-party-advisory
https://www.oracle.com/security-alerts/cpujul2022.htmladvisory, third-party-advisory
https://groups.google.com/g/golang-announce/c/SUsQn0aSgPQadvisory, release-notes, vendor-advisory, web
https://security.netapp.com/advisory/ntap-20220225-0006/advisory, third-party-advisory
https://security.gentoo.org/glsa/202208-02advisory, third-party-advisory, vendor-advisory
https://lists.debian.org/debian-lts-announce/2023/04/msg00021.htmlmailing-list, web
https://go.dev/cl/382455fix
https://go.googlesource.com/go/+/7f9494c277a471f6f47f4af3036285c0b1419816fix
https://go.dev/issue/50974report
https://nvd.nist.gov/vuln/detail/CVE-2022-23806web

Sources

SourceRecordLicence
CVE ListCVE-2022-23806 changed 2024-08-03CVE Terms of Use
Go Vulnerability DatabaseGO-2021-0319 changed 2024-05-20CC-BY-4.0
NVDCVE-2022-23806 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-GOLANG-2022-23806 changed 2026-09-08Apache-2.0