CVE-2022-23806
CRITICAL9.1EPSS 0.04%Incorrect computation for some invalid field elements in crypto/elliptic
Published: 5/23/2022Modified: 4/28/2026
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 (3)
- Bitnami/golangfrom 0, < 1.16.14, >= 1.17.0, < 1.17.7
- Debian/golang-1.15from 0, < 1.15.15-1~deb11u3
- Go/stdlibfrom 0, < 1.16.14, >= 1.17.0-0, < 1.17.7
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | CRITICAL9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H |
References (12)
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2022-23806
- PATCHhttps://go.dev/cl/382455
- PATCHhttps://go.googlesource.com/go/+/7f9494c277a471f6f47f4af3036285c0b1419816
- REPORThttps://go.dev/issue/50974
- WEBhttps://groups.google.com/g/golang-announce/c/SUsQn0aSgPQ
- WEBhttps://lists.debian.org/debian-lts-announce/2022/04/msg00017.html
- WEBhttps://lists.debian.org/debian-lts-announce/2022/04/msg00018.html
- WEBhttps://lists.debian.org/debian-lts-announce/2023/04/msg00021.html
- WEBhttps://nvd.nist.gov/vuln/detail/CVE-2022-23806
- WEBhttps://security.gentoo.org/glsa/202208-02
- WEBhttps://security.netapp.com/advisory/ntap-20220225-0006/
- WEBhttps://www.oracle.com/security-alerts/cpujul2022.html