CVE-2022-23806
published 2022-02-11CVE-2022-23806: 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…
PriorityP347critical9.1CVSS 3.1
AVNACLPRNUINSUCNIHAH
EPSS
3.02%
85.8th percentile
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
14 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | debian_linux | — | — |
| debian | golang-1.15 | < golang-1.15 1.15.15-1~deb11u3 (bullseye) | golang-1.15 1.15.15-1~deb11u3 (bullseye) |
| golang | go | < 1.16.14 | 1.16.14 |
| golang | go | >= 1.17.0 < 1.17.7 | 1.17.7 |
| msrc | azl3_golang_1.24.3-1_on_azure_linux_3.0 | — | — |
| msrc | azl3_python-tensorboard_2.11.0-3_on_azure_linux_3.0 | — | — |
| msrc | azl3_python-tensorboard_2.16.2-2_on_azure_linux_3.0 | — | — |
| msrc | azure_linux_3.0_arm | — | — |
| msrc | azure_linux_3.0_x64 | — | — |
| msrc | cbl2_golang_1.18.8-3_on_cbl_mariner_2.0 | — | — |
| msrc | cbl_mariner_2.0_arm | — | — |
| msrc | cbl_mariner_2.0_x64 | — | — |
| msrc | cm1_golang_1.16.14-1_on_cbl_mariner_1.0 | — | — |
| paloalto | pan-os | — | — |
CVSS provenance
nvdv3.19.1CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
nvdv2.06.4MEDIUMAV:N/AC:L/Au:N/C:N/I:P/A:P
osv9.1CRITICAL
vendor_debian9.1CRITICAL
vendor_msrc9.1CRITICAL
vendor_redhat9.1CRITICAL
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
VulDB
Google Go up to 1.16.13/1.17.6 crypto-elliptic Curve.IsOnCurve Remote Code Execution (EUVD-2022-28738 / Nessus ID 215667)
vuldb·2026-04-30·CVSS 9.1
CVE-2022-23806 [CRITICAL] Google Go up to 1.16.13/1.17.6 crypto-elliptic Curve.IsOnCurve Remote Code Execution (EUVD-2022-28738 / Nessus ID 215667)
A vulnerability was found in Google Go up to 1.16.13/1.17.6. It has been declared as critical. The impacted element is the function Curve.IsOnCurve of the component crypto-elliptic. The manipulation results in Remote Code Execution.
This vulnerability is known as CVE-2022-23806. It is possible to launch the attack remotely. No exploit is available.
It is recommended to upgrade the affected component.
OSV
Incorrect computation for some invalid field elements in crypto/elliptic
osv·2022-05-23
CVE-2022-23806 Incorrect computation for some invalid field elements in crypto/elliptic
Incorrect computation for some invalid field elements in crypto/elliptic
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.
GHSA
GHSA-8c83-vp4v-h7fq: Curve
ghsa_unreviewed·2022-02-12
CVE-2022-23806 [CRITICAL] CWE-252 GHSA-8c83-vp4v-h7fq: Curve
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.
OSV
CVE-2022-23806: Curve
osv·2022-02-11·CVSS 9.1
CVE-2022-23806 [CRITICAL] CVE-2022-23806: Curve
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.
Palo Alto
PAN-SA-2024-0012 Informational Bulletin: OSS CVEs fixed in PAN-OS
vendor_paloalto·2024-10-29·CVSS 9.8
CVE-2019-17006 [CRITICAL] PAN-SA-2024-0012 Informational Bulletin: OSS CVEs fixed in PAN-OS
PAN-SA-2024-0012 Informational Bulletin: OSS CVEs fixed in PAN-OS
The Palo Alto Networks Product Security Assurance team has evaluated the following open source software (OSS) CVEs as they relate to PAN-OS. While it was not determined that these CVEs have any significant impact on PAN-OS, they have been fixed out of an abundance of caution. CVE Summary CVE-2019-17006 This CVE is fixed in PAN-OS 10.2.0, and all later versions of PAN-OS. CVE-2021-3518 This CVE is fixed in PAN-OS 10.2.0, and all later versions of PAN-OS. CVE-2021-25219 This CVE is fixed in PAN-OS 10.2.3, and all later versions of PAN-OS. CVE-2021-27645 This CVE is fixed in PAN-OS 10.2.8, PAN-OS 11.0.2, and all later versions of PAN-OS. CVE-2021-34798 This CVE is fixed in PAN-OS 10.2.8, PAN-OS 11.0.2, and all later versions o
Red Hat
golang: crypto/elliptic: IsOnCurve returns true for invalid field elements
vendor_redhat·2022-02-11·CVSS 9.1
CVE-2022-23806 [CRITICAL] CWE-252 golang: crypto/elliptic: IsOnCurve returns true for invalid field elements
golang: crypto/elliptic: IsOnCurve returns true for invalid field elements
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.
A flaw was found in the elliptic package of the crypto library in golang when the IsOnCurve function could return true for invalid field elements. This flaw allows an attacker to take advantage of this undefined behavior, affecting the availability and integrity of the resource.
Statement: Red Hat Enterprise Linux 8 and 9 are affected because the code-base is affected by this vulnerability.
Red Hat Product Security has rated this issue as having a Moderate security impact. The issue is not currently planned to be addressed in future upda
Microsoft
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.
vendor_msrc·2022-02-08·CVSS 9.1
CVE-2022-23806 [CRITICAL] CWE-252 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.
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.
FAQ: Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this blog post for more information. If impact to additional products is identified, we will update the CVE to reflect this.
Debian
CVE-2022-23806: golang-1.15 - Curve.IsOnCurve in crypto/elliptic in Go before 1.16.14 and 1.17.x before 1.17.7...
vendor_debian·2022·CVSS 9.1
CVE-2022-23806 [CRITICAL] CVE-2022-23806: golang-1.15 - Curve.IsOnCurve in crypto/elliptic in Go before 1.16.14 and 1.17.x before 1.17.7...
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.
Scope: local
bullseye: resolved (fixed in 1.15.15-1~deb11u3)
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
https://groups.google.com/g/golang-announce/c/SUsQn0aSgPQhttps://lists.debian.org/debian-lts-announce/2022/04/msg00017.htmlhttps://lists.debian.org/debian-lts-announce/2022/04/msg00018.htmlhttps://lists.debian.org/debian-lts-announce/2023/04/msg00021.htmlhttps://security.gentoo.org/glsa/202208-02https://security.netapp.com/advisory/ntap-20220225-0006/https://www.oracle.com/security-alerts/cpujul2022.htmlhttps://groups.google.com/g/golang-announce/c/SUsQn0aSgPQhttps://lists.debian.org/debian-lts-announce/2022/04/msg00017.htmlhttps://lists.debian.org/debian-lts-announce/2022/04/msg00018.htmlhttps://lists.debian.org/debian-lts-announce/2023/04/msg00021.htmlhttps://security.gentoo.org/glsa/202208-02https://security.netapp.com/advisory/ntap-20220225-0006/https://www.oracle.com/security-alerts/cpujul2022.html
2022-02-11
Published