cve.bz

CVE-2022-23806 Unchecked Return Value

9.1 criticalEPSS 3.1%Fix available

Critical (9.1). EPSS 3.1% estimated probability of exploitation activity in the next 30 days. Fixed in stdlib 1.16.14, 1.17.7.

On this page
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.

Severity

CVSS 3.1

9.1 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
EPSS
3.1% (unchanged from 3.1% a week ago; 3.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 88th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-252 Unchecked Return Value
OWASP Top 10
A10:2025 Mishandling of Exceptional Conditions
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-23806 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-23806?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-23806?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-23806 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
golang:gobefore 1.16.14
golang:gofrom 1.17.0 before 1.17.7
debian:debian_linux9.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GO-2021-0319Gostdlib<1.16.14
>=1.17.0-0 <1.17.7
1.16.14, 1.17.7

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian9golang-1.71.7.4-2+deb9u5DLA-2985-1
Debian9golang-1.81.8.1-1+deb9u5DLA-2986-1
Debian10golang-1.111.11.6-1+deb10u6DLA-3395-1
Debian11golang-1.151.15.15-1~deb11u3DEBIAN-CVE-2022-23806
Ubuntu25.10, 26.10, Pro:16.04:LTS and 4 moregolang-go.cryptono fix listedUBUNTU-CVE-2022-23806
UbuntuPro:18.04:LTSlxd, golang-go.cryptono fix listedUBUNTU-CVE-2022-23806
Red Hatenterprise_linux:8::appstreamdelve, delve-debuginfo, delve-debugsource0:1.7.2-1.module+el8.6.0+12972+ebab5911RHSA-2022:1819
Red Hatenterprise_linux:8::appstreamgolang, go-toolset, golang-bin and 5 more0:1.17.7-1.module+el8.6.0+14297+32a15e19RHSA-2022:1819
Red Hatopenshift:4.10::el7cri-o, cri-o-debuginfo0:1.23.3-11.rhaos4.10.gitddf4b1a.1.el7RHSA-2022:5729
Red Hatopenshift:4.10::el7cri-o, cri-o-debuginfo0:1.23.3-13.rhaos4.10.git6af791c.1.el7RHSA-2022:6094
Red Hatopenshift:4.10::el7cri-tools, cri-tools-debuginfo0:1.23.0-1.1.el7RHSA-2022:5729
Red Hatopenshift:4.10::el7openshift, openshift-hyperkube0:4.10.0-202207192015.p0.g012e945.assembly.stream.el7RHSA-2022:5729
Red Hatopenshift:4.10::el7openshift-clients, openshift-clients-redistributable0:4.10.0-202207192015.p0.g45460a5.assembly.stream.el7RHSA-2022:5729
Red Hatopenshift:4.10::el8atomic-openshift-service-idler0:4.10.0-202207192015.p0.g39cfc66.assembly.stream.el8RHSA-2022:5729
Red Hatopenshift:4.10::el8cri-o, cri-o-debuginfo, cri-o-debugsource0:1.23.3-11.rhaos4.10.gitddf4b1a.1.el8RHSA-2022:5729
Red Hatopenshift:4.10::el8cri-o, cri-o-debuginfo, cri-o-debugsource0:1.23.3-14.rhaos4.10.git6af791c.1.el8RHSA-2022:6094
Red Hatopenshift:4.10::el8cri-tools, cri-tools-debuginfo, cri-tools-debugsource0:1.23.0-1.1.el8RHSA-2022:5729
Red Hatopenshift:4.10::el8openshift, openshift-hyperkube0:4.10.0-202207192015.p0.g012e945.assembly.stream.el8RHSA-2022:5729
157 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 7, Linux Enterprise High Performance Computing 15 SP2-ESPOS, Linux Enterprise High Performance Computing 15 SP2-LTSS and 8 morego1.161.16.14-1.43.1SUSE-SU-2022:0724-1
SUSEEnterprise Storage 7, Linux Enterprise High Performance Computing 15 SP2-ESPOS, Linux Enterprise High Performance Computing 15 SP2-LTSS and 8 morego1.171.17.7-1.20.1SUSE-SU-2022:0723-1
SUSELinux Enterprise Module for Public Cloud 12google-guest-agent20230221.00-1.29.1SUSE-SU-2023:0603-1
SUSELinux Enterprise Module for Public Cloud 12google-osconfig-agent20230222.00-1.20.1SUSE-SU-2023:0601-1
SUSELinux Enterprise Module for Public Cloud 15 SP1, Linux Enterprise Module for Public Cloud 15 SP2, Linux Enterprise Module for Public Cloud 15 SP3 and 1 moregoogle-guest-agent20230221.00-150000.1.34.1SUSE-SU-2023:0600-1
SUSELinux Enterprise Module for Public Cloud 15 SP1, Linux Enterprise Module for Public Cloud 15 SP2, Linux Enterprise Module for Public Cloud 15 SP3 and 1 moregoogle-osconfig-agent20230222.00-150000.1.27.1SUSE-SU-2023:0602-1
openSUSELeap 15.3go1.161.16.14-1.43.1openSUSE-SU-2022:0724-1
openSUSELeap 15.3go1.171.17.7-1.20.1openSUSE-SU-2022:0723-1
openSUSELeap 15.4google-guest-agent20230221.00-150000.1.34.1SUSE-SU-2023:0600-1
openSUSELeap 15.4google-osconfig-agent20230222.00-150000.1.27.1SUSE-SU-2023:0602-1
openSUSETumbleweedgo1.161.16.14-1.1openSUSE-SU-2024:11843-1
openSUSETumbleweedgo1.171.17.7-1.1openSUSE-SU-2024:11844-1
AlmaLinux8delve1.7.2-1.module_el8.6.0+2736+ec10aba8ALSA-2022:1819
AlmaLinux8golang, go-toolset, golang-bin and 5 more1.17.7-1.module_el8.6.0+2736+ec10aba8ALSA-2022:1819
Rocky Linux8delve0:1.7.2-1.module+el8.6.0+824+8e984c20RLSA-2022:1819
Rocky Linux8golang, go-toolset0:1.17.7-1.module+el8.6.0+824+8e984c20RLSA-2022:1819
Alpinev3.14go1.16.15-r0ALPINE-CVE-2022-23806
Alpinev3.15go1.17.9-r0ALPINE-CVE-2022-23806
Alpinev3.16, v3.17, v3.18 and 6 morego1.17.7-r0ALPINE-CVE-2022-23806
Azure Linux2golang1.18.8-3AZL-8524
Azure Linux3golangno fix listedAZL-79100 AZL-98838

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

Red Hat's 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 updates for Red Hat Enterprise Linux 7; hence, marked as Out-of-Support-Scope.

Red Hat Developer Tools - Compilers (go-toolset-1.16 & 1.17), will not be addressed in future updates as shipped only in RHEL-7, hence, marked as Out-of-Support-Scope.

For additional information, refer to the Issue Severity Classification: https://access.redhat.com/security/updates/classification/ and Red Hat Enterprise Linux Life Cycle & Updates Policy: https://access.redhat.com/support/policy/updates/errata/.

The vulnerability lies in the crypto/elliptic: IsOnCurve taking in negative and invalid forms of data input and resulting in a panic, the resulting invalid data input is also resulting in data sinks in other functions such as marshall that handle elliptic curve cryptography by converting points on an elliptic curve into a binary format for storage or transmission and scalarmult which provides scalar multiplication, all three function takes in invalid forms of data and results in a crash, although the main culprit being isoncurve function, considering the attack complexity being high as the data that reaches the vulnerable function could already be stripped of negative sign and the resultant successful exploitation only leading to a panic/crash the vulnerability has been rated as Moderate.

ProductPackageStateAdvisory
Openshift Serveless 1.22openshift-serverless-1/client-kn-rhel8:1.1.0-4Fixed 2022-06-01RHSA-2022:4863
Openshift Serveless 1.22openshift-serverless-1/eventing-apiserver-receive-adapter-rhel8:1.1.0-3Fixed 2022-06-01RHSA-2022:4863
Openshift Serveless 1.22openshift-serverless-1/eventing-controller-rhel8:1.1.0-3Fixed 2022-06-01RHSA-2022:4863
Openshift Serveless 1.22openshift-serverless-1/eventing-in-memory-channel-controller-rhel8:1.1.0-3Fixed 2022-06-01RHSA-2022:4863
Openshift Serveless 1.22openshift-serverless-1/eventing-in-memory-channel-dispatcher-rhel8:1.1.0-3Fixed 2022-06-01RHSA-2022:4863
Openshift Serveless 1.22openshift-serverless-1/eventing-kafka-broker-controller-rhel8:1.1.0-4Fixed 2022-06-01RHSA-2022:4863
Openshift Serveless 1.22openshift-serverless-1/eventing-kafka-broker-dispatcher-rhel8:1.1.0-3Fixed 2022-06-01RHSA-2022:4863
Openshift Serveless 1.22openshift-serverless-1/eventing-kafka-broker-post-install-rhel8:1.1.0-4Fixed 2022-06-01RHSA-2022:4863
Openshift Serveless 1.22openshift-serverless-1/eventing-kafka-broker-webhook-rhel8:1.1.0-4Fixed 2022-06-01RHSA-2022:4863
Openshift Serveless 1.22openshift-serverless-1/eventing-mtbroker-filter-rhel8:1.1.0-3Fixed 2022-06-01RHSA-2022:4863
Logging Subsystem for Red Hat OpenShiftopenshift-logging/cluster-logging-rhel8-operatorAffected
Logging Subsystem for Red Hat OpenShiftopenshift-logging/elasticsearch-proxy-rhel8Affected
Logging Subsystem for Red Hat OpenShiftopenshift-logging/elasticsearch-rhel8-operatorAffected
Logging Subsystem for Red Hat OpenShiftopenshift-logging/eventrouter-rhel8Affected
Logging Subsystem for Red Hat OpenShiftopenshift-logging/log-file-metric-exporter-rhel9Affected
Migration Toolkit for Containersmtc-1.6Affected
Migration Toolkit for Containersrhmtc/openshift-migration-must-gather-rhel8Affected
mirror registry for Red Hat OpenShiftmirror-registry-containerAffected
OpenShift API for Data Protectionoadp/oadp-velero-plugin-rhel9Affected
OpenShift Developer Tools and Servicesocp-tools-4/service-binding-operator-bundleWill not fix
267 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-23806.

References

Check your stackJSON