Vulnerabilities / CVE-2022-23806

critical

CVE-2022-23806

golang: crypto/elliptic: IsOnCurve returns true for invalid field elements

Published Modified CWE 252
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
Red Hat7.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H
Bitnami9.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H

Trivy's own label is CRITICAL. Rated critical by NVD, Azure Linux, Bitnami, CBL-Mariner, Photon OS. Rated lower by Amazon (high), Red Hat (medium), AlmaLinux (medium), Oracle (medium).

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 packages and fixed versions

SourcePackageFixed in
Azure Linux 3.0python-tensorboard0:2.16.2-2.azl3
bitnami::Bitnami Vulnerability Databasegolang1.16.14, 1.17.7
CBL-Mariner 2.0golang0:1.18.8-3.cm2
Photon OS 1.0go1.17.2-1.ph1
Photon OS 2.0go1.17.2-3.ph2
Photon OS 3.0go1.17.2-4.ph3
Photon OS 4.0go, kubernetes-dashboard1.17.2-3.ph4 and 1 more
alma 8go-toolset:rhel8::delve, go-toolset:rhel8::go-toolset, go-toolset:rhel8::golang and 6 more1.7.2-1.module_el8.6.0+2736+ec10aba8 and 1 more
alpine 3.14go1.16.15-r0
alpine 3.15go1.17.9-r0
alpine 3.16go1.17.7-r0
alpine 3.17go1.17.7-r0
Show all 114 entries from 38 sources
SourcePackageFixed in
Azure Linux 3.0python-tensorboard0:2.16.2-2.azl3
bitnami::Bitnami Vulnerability Databasegolang1.16.14, 1.17.7
CBL-Mariner 2.0golang0:1.18.8-3.cm2
Photon OS 1.0go1.17.2-1.ph1
Photon OS 2.0go1.17.2-3.ph2
Photon OS 3.0go1.17.2-4.ph3
Photon OS 4.0go1.17.2-3.ph4
Photon OS 4.0kubernetes-dashboard2.7.0-1.ph4
alma 8go-toolset:rhel8::delve1.7.2-1.module_el8.6.0+2736+ec10aba8
alma 8go-toolset:rhel8::go-toolset1.17.7-1.module_el8.6.0+2736+ec10aba8
alma 8go-toolset:rhel8::golang1.17.7-1.module_el8.6.0+2736+ec10aba8
alma 8go-toolset:rhel8::golang-bin1.17.7-1.module_el8.6.0+2736+ec10aba8
alma 8go-toolset:rhel8::golang-docs1.17.7-1.module_el8.6.0+2736+ec10aba8
alma 8go-toolset:rhel8::golang-misc1.17.7-1.module_el8.6.0+2736+ec10aba8
alma 8go-toolset:rhel8::golang-race1.17.7-1.module_el8.6.0+2736+ec10aba8
alma 8go-toolset:rhel8::golang-src1.17.7-1.module_el8.6.0+2736+ec10aba8
alma 8go-toolset:rhel8::golang-tests1.17.7-1.module_el8.6.0+2736+ec10aba8
alpine 3.14go1.16.15-r0
alpine 3.15go1.17.9-r0
alpine 3.16go1.17.7-r0
alpine 3.17go1.17.7-r0
alpine 3.18go1.17.7-r0
alpine 3.19go1.17.7-r0
alpine 3.20go1.17.7-r0
alpine 3.21go1.17.7-r0
alpine 3.22go1.17.7-r0
alpine 3.23go1.17.7-r0
alpine 3.24go1.17.7-r0
alpine edgego1.17.7-r0
amazon linux 1golang1.16.15-1.38.amzn1
amazon linux 1golang-bin1.16.15-1.38.amzn1
amazon linux 1golang-docs1.16.15-1.38.amzn1
amazon linux 1golang-misc1.16.15-1.38.amzn1
amazon linux 1golang-race1.16.15-1.38.amzn1
amazon linux 1golang-shared1.16.15-1.38.amzn1
amazon linux 1golang-src1.16.15-1.38.amzn1
amazon linux 1golang-tests1.16.15-1.38.amzn1
amazon linux 2golang1.16.15-1.amzn2.0.1
amazon linux 2golang-bin1.16.15-1.amzn2.0.1
amazon linux 2golang-docs1.16.15-1.amzn2.0.1
amazon linux 2golang-misc1.16.15-1.amzn2.0.1
amazon linux 2golang-race1.16.15-1.amzn2.0.1
amazon linux 2golang-shared1.16.15-1.amzn2.0.1
amazon linux 2golang-src1.16.15-1.amzn2.0.1
amazon linux 2golang-tests1.16.15-1.amzn2.0.1
amazon linux 2023golang1.19.8-1.amzn2023.0.1
amazon linux 2023golang-bin1.19.8-1.amzn2023.0.1
amazon linux 2023golang-docs1.19.8-1.amzn2023.0.1
amazon linux 2023golang-misc1.19.8-1.amzn2023.0.1
amazon linux 2023golang-race1.19.8-1.amzn2023.0.1
amazon linux 2023golang-shared1.19.8-1.amzn2023.0.1
amazon linux 2023golang-src1.19.8-1.amzn2023.0.1
amazon linux 2023golang-tests1.19.8-1.amzn2023.0.1
debian 10golang-1.111.11.6-1+deb10u6
debian 11golang-1.151.15.15-1~deb11u3
debian 9golang-1.71.7.4-2+deb9u5
debian 9golang-1.81.8.1-1+deb9u5
go::The Go Vulnerability Databasestdlib1.16.14, 1.17.7
Oracle Linux 8delve1.7.2-1.0.1.module+el8.6.0+20559+3b94dc2a
Oracle Linux 8go-toolset1.17.7-1.module+el8.6.0+20559+3b94dc2a
Oracle Linux 8golang1.17.7-1.module+el8.6.0+20559+3b94dc2a
Oracle Linux 8golang-bin1.17.7-1.module+el8.6.0+20559+3b94dc2a
Oracle Linux 8golang-docs1.17.7-1.module+el8.6.0+20559+3b94dc2a
Oracle Linux 8golang-misc1.17.7-1.module+el8.6.0+20559+3b94dc2a
Oracle Linux 8golang-race1.17.7-1.module+el8.6.0+20559+3b94dc2a
Oracle Linux 8golang-src1.17.7-1.module+el8.6.0+20559+3b94dc2a
Oracle Linux 8golang-tests1.17.7-1.module+el8.6.0+20559+3b94dc2a
rapidfort alma 9git-lfsno fix listed
rapidfort amazon linux 2023golang1.19.8-1.amzn2023.0.1
rapidfort amazon linux 2023golang-bin1.19.8-1.amzn2023.0.1
rapidfort amazon linux 2023golang-docs1.19.8-1.amzn2023.0.1
rapidfort amazon linux 2023golang-misc1.19.8-1.amzn2023.0.1
rapidfort amazon linux 2023golang-race1.19.8-1.amzn2023.0.1
rapidfort amazon linux 2023golang-shared1.19.8-1.amzn2023.0.1
rapidfort amazon linux 2023golang-src1.19.8-1.amzn2023.0.1
rapidfort amazon linux 2023golang-tests1.19.8-1.amzn2023.0.1
rapidfort Oracle Linux 9git-lfsno fix listed
rapidfort rockyrf-git-lfs3.7.1-14.rf
rapidfort rocky 9git-lfsno fix listed
rapidfort ubuntu 20.04snapd0:2.62+24.04build1
rapidfort ubuntu 22.04snapd0:2.62+24.04build1
rapidfort ubuntu 24.04snapd0:2.62+24.04build1
Red Hatetcdno fix listed
Red Hatgit-lfsno fix listed
Red Hatgo-toolsetno fix listed
Red Hatgolangno fix listed
Red Hatgolang-binno fix listed
Red Hatgolang-docsno fix listed
Red Hatgolang-github-streadway-amqp-develno fix listed
Red Hatgolang-miscno fix listed
Red Hatgolang-qpid-apacheno fix listed
Red Hatgolang-raceno fix listed
Red Hatgolang-srcno fix listed
Red Hatgolang-testsno fix listed
Red Hatservicemesh-grafanano fix listed
Red Hatservicemesh-grafana-prometheusno fix listed
Red Hatservicemesh-proxyno fix listed
rocky 8go-toolset1.17.7-1.module+el8.6.0+824+8e984c20
rocky 8go-toolset:rhel8::delve1.7.2-1.module+el8.6.0+824+8e984c20
rocky 8go-toolset:rhel8::go-toolset1.17.7-1.module+el8.6.0+824+8e984c20
rocky 8go-toolset:rhel8::golang1.17.7-1.module+el8.6.0+824+8e984c20
rocky 8go-toolset:rhel8::golang-bin1.17.7-1.module+el8.6.0+824+8e984c20
rocky 8go-toolset:rhel8::golang-docs1.17.7-1.module+el8.6.0+824+8e984c20
rocky 8go-toolset:rhel8::golang-misc1.17.7-1.module+el8.6.0+824+8e984c20
rocky 8go-toolset:rhel8::golang-race1.17.7-1.module+el8.6.0+824+8e984c20
rocky 8go-toolset:rhel8::golang-src1.17.7-1.module+el8.6.0+824+8e984c20
rocky 8go-toolset:rhel8::golang-tests1.17.7-1.module+el8.6.0+824+8e984c20
rocky 8golang1.17.7-1.module+el8.6.0+824+8e984c20
rocky 8golang-bin1.17.7-1.module+el8.6.0+824+8e984c20
rocky 8golang-docs1.17.7-1.module+el8.6.0+824+8e984c20
rocky 8golang-misc1.17.7-1.module+el8.6.0+824+8e984c20
rocky 8golang-race1.17.7-1.module+el8.6.0+824+8e984c20
rocky 8golang-src1.17.7-1.module+el8.6.0+824+8e984c20
rocky 8golang-tests1.17.7-1.module+el8.6.0+824+8e984c20

References

All 24 references

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.