CVE-2017-8932
golang: Elliptic curves carry propagation issue in x86-64 P-256
Overview
Description
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.
Source: OX vulnerability database
Severity
5.9 · MEDIUM
CVSS 3.0 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- High
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- None
- Availability
- None
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness: CWE-682
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Go | stdlib | >=1.6.0-0, <1.7.6>=1.8.0-0, <1.8.2 | 1.7.61.8.2 |
Open a package to see all its vulnerabilities.
Operating systems · 9 fixes
Oracle Linux 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 7 | golang +5 | 1.8.3-1.el7 |
Red Hat 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | golang +4 | wont fix | — |
| 7 | golang +5 | 0:1.8.3-1.el7 | RHSA-2017:1859 |
debian 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 9 | golang-1-7 +1 | affected |
openSUSE 1 release · 5 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | go1-10 +2 | 1.10.8-8.2 | openSUSE-SU-2024:10803-1 |
| Tumbleweed | go1-11 +2 | 1.11.13-10.5 | openSUSE-SU-2024:10804-1 |
| Tumbleweed | go1-12 +2 | 1.12.17-4.8 | openSUSE-SU-2024:10805-1 |
| Tumbleweed | go +2 | 1.17-1.1 | openSUSE-SU-2024:10802-1 |
| Tumbleweed | go1-9 +2 | 1.9.7-11.2 | openSUSE-SU-2024:10812-1 |
References
- lists.opensuse.org http://lists.opensuse.org/opensuse-updates/2017-06/msg00079.html
- lists.opensuse.org http://lists.opensuse.org/opensuse-updates/2017-06/msg00080.html
- access.redhat.com https://access.redhat.com/errata/RHSA-2017:1859
- access.redhat.com https://access.redhat.com/security/cve/CVE-2017-8932
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1455191
- github.com https://github.com/golang/go/commit/9294fa2749ffee7edbbb817a0ef9fe633136fa9c
- github.com https://github.com/golang/go/issues/20040
- go-review.googlesource.com https://go-review.googlesource.com/c/41070/
- go.dev https://go.dev/cl/41070
- go.dev https://go.dev/issue/20040
Show all 19 references
- go.googlesource.com https://go.googlesource.com/go/+/9294fa2749ffee7edbbb817a0ef9fe633136fa9c
- groups.google.com https://groups.google.com/d/msg/golang-announce/B5ww0iFt1_Q/TgUFJV14BgAJ
- groups.google.com https://groups.google.com/g/golang-announce/c/B5ww0iFt1_Q/m/TgUFJV14BgAJ
- linux.oracle.com https://linux.oracle.com/cve/CVE-2017-8932.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2017-1859.html
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LZH4T47ROLZ6YEZBDVXVS2KISTDMXAPS/
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2017-8932
- pkg.go.dev https://pkg.go.dev/vuln/GO-2022-0187
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2017-8932
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.