CVE-2017-8932
MEDIUM 5.9CVSS 3.0Incorrect computation for P-256 curves in crypto/elliptic
A bug in the standard library ScalarMult implementation of curve P-256 for amd64 architectures in Go before 1.7.6 and 1.8.x before 1.8.2 causes incorrect results to be generated for specific input points. An adaptive attack can be mounted to progressively extract the scalar input to ScalarMult by submitting crafted points and observing failures to the derive correct output. This leads to a full key recovery attack against static ECDH, as used in popular JWT libraries.
- Published
- 6 Jul 2017
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-682
- Also known as
- GO-2022-0187
- Sources
- NVDJSONOSV GO-2022-0187JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | MEDIUM 5.9 | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.3 | AV:N/AC:M/Au:N/C:P/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | golang | gocpe:2.3:a:golang:go:*:*:*:*:*:*:*:* |
<= 1.7.5 | |
| NVD | golang | gocpe:2.3:a:golang:go:1.8:*:*:*:*:*:*:* |
= 1.8 | |
| NVD | golang | gocpe:2.3:a:golang:go:1.8.1:*:*:*:*:*:*:* |
= 1.8.1 | |
| NVD | novell | suse_package_hub_for_suse_linux_enterprisecpe:2.3:a:novell:suse_package_hub_for_suse_linux_enterprise:12:*:*:*:*:*:*:* |
= 12 | |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:25:*:*:*:*:*:*:* |
= 25 | |
| NVD | opensuse | leapcpe:2.3:o:opensuse:leap:42.2:*:*:*:*:*:*:* |
= 42.2 | |
| OSV | Go | stdlib | >= 1.6.0-0, < 1.7.6; >= 1.8.0-0, < 1.8.2 | 1.7.6, 1.8.2 |
References
- http://lists.opensuse.org/opensuse-updates/2017-06/msg00079.html · Patch, Third Party Advisory
- http://lists.opensuse.org/opensuse-updates/2017-06/msg00080.html · Patch, Third Party Advisory
- https://access.redhat.com/errata/RHSA-2017:1859
- https://bugzilla.redhat.com/show_bug.cgi?id=1455191 · Issue Tracking, Third Party Advisory
- https://github.com/golang/go/commit/9294fa2749ffee7edbbb817a0ef9fe633136fa9c · Issue Tracking, Patch, Third Party Advisory
- https://github.com/golang/go/issues/20040 · Third Party Advisory
- https://go-review.googlesource.com/c/41070/ · Vendor Advisory
- https://groups.google.com/d/msg/golang-announce/B5ww0iFt1_Q/TgUFJV14BgAJ · Vendor Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LZH4T47ROLZ6YEZBDVXVS2KISTDMXAPS/
- https://go.dev/cl/41070 · FIX
- https://go.googlesource.com/go/+/9294fa2749ffee7edbbb817a0ef9fe633136fa9c · FIX
- https://go.dev/issue/20040 · REPORT
- https://groups.google.com/g/golang-announce/c/B5ww0iFt1_Q/m/TgUFJV14BgAJ · WEB
History
- 25 Nov 2026 20:20 UTC · NVD: first stored (published 6 Jul 2017)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 1 Jul 2022)